<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/objstr.c, branch cross</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=cross</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=cross'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-05-21T23:22:14+00:00</updated>
<entry>
<title>py/objstr: Fix mix-signed comparison in str.center().</title>
<updated>2016-05-21T23:22:14+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-21T23:22:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9dde6062cc80152c08e16e7bc3536d53e8a2de05'/>
<id>urn:sha1:9dde6062cc80152c08e16e7bc3536d53e8a2de05</id>
<content type='text'>
</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/objstr: Make dedicated splitlines function, supporting diff newlines.</title>
<updated>2016-05-13T11:21:32+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-13T11:21:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=cc80c4dd59d0bdf130277fdb0705c871e1b1afa2'/>
<id>urn:sha1:cc80c4dd59d0bdf130277fdb0705c871e1b1afa2</id>
<content type='text'>
It now supports \n, \r and \r\n as newline separators.

Adds 56 bytes to stmhal and 80 bytes to unix x86-64.

Fixes issue #1689.
</content>
</entry>
<entry>
<title>Revert "py/objstr: .format(): Avoid call to vstr_null_terminated_str()."</title>
<updated>2016-05-09T20:42:42+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-09T20:42:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=40f0096ee7b367491248ae5fae093246e0a1a044'/>
<id>urn:sha1:40f0096ee7b367491248ae5fae093246e0a1a044</id>
<content type='text'>
This reverts commit 6de8dbb4880e58c68a08205cb2b9c15940143439. The change
was incorrect (correct change would require comparing with end pointer in
each if statement in the block).
</content>
</entry>
<entry>
<title>py/objstr: .format(): Avoid call to vstr_null_terminated_str().</title>
<updated>2016-05-09T18:55:09+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-09T18:53:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6de8dbb4880e58c68a08205cb2b9c15940143439'/>
<id>urn:sha1:6de8dbb4880e58c68a08205cb2b9c15940143439</id>
<content type='text'>
By comparing with string end pointer instead of checking for NUL byte.
Should alleviate reallocations and fragmentation a tiny bit.
</content>
</entry>
<entry>
<title>py/objstr: Binary type of str/bytes for buffer protocol is 'B'.</title>
<updated>2016-05-07T20:18:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-07T20:18:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=12dd8df3756d58af2f4d1f54eefd90f1ce1e0dbe'/>
<id>urn:sha1:12dd8df3756d58af2f4d1f54eefd90f1ce1e0dbe</id>
<content type='text'>
The type is an unsigned 8-bit value, since bytes objects are exactly
that.  And it's also sensible for unicode strings to return unsigned
values when accessed in a byte-wise manner (CPython does not allow this).
</content>
</entry>
<entry>
<title>py/makeqstrdata: Add special case to handle \n qstr.</title>
<updated>2016-04-14T14:22:36+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-04-14T14:22:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a649d726063d548bbf5f05aef8c4420ddf0cfe6e'/>
<id>urn:sha1:a649d726063d548bbf5f05aef8c4420ddf0cfe6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objarray: Implement "in" operator for bytearray.</title>
<updated>2016-02-14T16:57:11+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-02-14T16:55:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c38809e26b71c539584462c2d02b6cd2647ade5b'/>
<id>urn:sha1:c38809e26b71c539584462c2d02b6cd2647ade5b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objstr: Make mp_obj_str_format_helper static.</title>
<updated>2016-02-02T16:51:52+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-02-02T16:51:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=086d98cbde2dffe43c2879d15d2c419a1250008e'/>
<id>urn:sha1:086d98cbde2dffe43c2879d15d2c419a1250008e</id>
<content type='text'>
</content>
</entry>
</feed>
