<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/objstrunicode.c, branch 0.9.0</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.9.0</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.9.0'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-08-07T12:24:57+00:00</updated>
<entry>
<title>py/objstr,objstrunicode: Fix inconistent #if indentation.</title>
<updated>2016-08-07T12:24:57+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-08-07T12:24:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=15633880010f70d80703af4c5a6ebbccf989ef3e'/>
<id>urn:sha1:15633880010f70d80703af4c5a6ebbccf989ef3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objstr: Make .partition()/.rpartition() methods configurable.</title>
<updated>2016-08-07T03:46:55+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-08-07T03:46:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=56eb25f04928132f9921a1163684e626256e2a2c'/>
<id>urn:sha1:56eb25f04928132f9921a1163684e626256e2a2c</id>
<content type='text'>
Default is disabled, enabled for unix port. Saves 600 bytes on x86.
</content>
</entry>
<entry>
<title>py/objstrunicode: str_index_to_ptr: Implement positive indexing properly.</title>
<updated>2016-07-25T16:28:04+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-25T16:02:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ed1c194ebf12c1e894d7620ca89c70f87b5d5709'/>
<id>urn:sha1:ed1c194ebf12c1e894d7620ca89c70f87b5d5709</id>
<content type='text'>
Order out-of-bounds check, completion check, and increment in the right way.
</content>
</entry>
<entry>
<title>py/objstrunicode: str_index_to_ptr: Should handle bytes too.</title>
<updated>2016-07-25T11:45:08+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-25T11:43:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6af90b29725a85f275380d1973b1454e25e6bdbc'/>
<id>urn:sha1:6af90b29725a85f275380d1973b1454e25e6bdbc</id>
<content type='text'>
There's single str_index_to_ptr() function, called for both bytes and
unicode objects, so should handle each properly.
</content>
</entry>
<entry>
<title>py/objstr*: Properly ifdef str.center().</title>
<updated>2016-05-21T22:54:41+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2016-05-21T22:41:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6a60fb3cf4e2596e5c4bfe9fefefa80e7ccbb71e'/>
<id>urn:sha1:6a60fb3cf4e2596e5c4bfe9fefefa80e7ccbb71e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objstr: Implement str.center().</title>
<updated>2016-05-21T21:13:44+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-21T21:13:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1b5abfcaae0188233415b37dcc0a3df1c7ee0656'/>
<id>urn:sha1:1b5abfcaae0188233415b37dcc0a3df1c7ee0656</id>
<content type='text'>
Disabled by default, enabled in unix port. Need for this method easily
pops up when working with text UI/reporting, and coding workalike
manually again and again counter-productive.
</content>
</entry>
<entry>
<title>py: Use polymorphic iterator type where possible to reduce code size.</title>
<updated>2016-01-03T16:27:55+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-03T16:27:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8212d97317b6e0c23c49a4ea34dbdb957f380789'/>
<id>urn:sha1:8212d97317b6e0c23c49a4ea34dbdb957f380789</id>
<content type='text'>
Only types whose iterator instances still fit in 4 machine words have
been changed to use the polymorphic iterator.

Reduces Thumb2 arch code size by 264 bytes.
</content>
</entry>
<entry>
<title>py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.</title>
<updated>2015-11-29T14:25:35+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-27T17:01:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=999cedb90ff0827cdb9dfe0e4faa6ebc1739d271'/>
<id>urn:sha1:999cedb90ff0827cdb9dfe0e4faa6ebc1739d271</id>
<content type='text'>
This allows the mp_obj_t type to be configured to something other than a
pointer-sized primitive type.

This patch also includes additional changes to allow the code to compile
when sizeof(mp_uint_t) != sizeof(void*), such as using size_t instead of
mp_uint_t, and various casts.
</content>
</entry>
<entry>
<title>py: Add MP_ROM_* macros and mp_rom_* types and use them.</title>
<updated>2015-11-29T14:25:04+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-27T13:38:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=cbf7674025814797f5c537d6d1c195efe58ccaaf'/>
<id>urn:sha1:cbf7674025814797f5c537d6d1c195efe58ccaaf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming.</title>
<updated>2015-10-11T12:18:15+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-10-11T09:09:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1b586f3a734c27c78080fb2173bbde17168cb9e4'/>
<id>urn:sha1:1b586f3a734c27c78080fb2173bbde17168cb9e4</id>
<content type='text'>
</content>
</entry>
</feed>
