<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/objstr.c, branch v1.4.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-04-04T14:53:11+00:00</updated>
<entry>
<title>py: Some trivial cosmetic changes, for code style consistency.</title>
<updated>2015-04-04T14:53:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-04T14:53:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2801e6fad8b8b3ecdd9c8bc58f9515ff66eca46c'/>
<id>urn:sha1:2801e6fad8b8b3ecdd9c8bc58f9515ff66eca46c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>objstr: Fix bugs introduced by inability to have shadow variables.</title>
<updated>2015-04-03T22:55:40+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-04-03T22:55:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7f59b4b2ca28179c72aa12f35fe59cb14017b5b0'/>
<id>urn:sha1:7f59b4b2ca28179c72aa12f35fe59cb14017b5b0</id>
<content type='text'>
Warnings lead to programming errors - as expected.
</content>
</entry>
<entry>
<title>objstr: Avoid variable shadowing.</title>
<updated>2015-04-03T22:24:59+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-04-03T22:23:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=acf6aec71cef3dae4431b79f6e530d3c8994a8b4'/>
<id>urn:sha1:acf6aec71cef3dae4431b79f6e530d3c8994a8b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>objstr: Add .splitlines() method.</title>
<updated>2015-04-03T21:09:48+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-04-03T21:09:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ac2f7a7f6aab135e90dd12d30b51d857628b0a59'/>
<id>urn:sha1:ac2f7a7f6aab135e90dd12d30b51d857628b0a59</id>
<content type='text'>
splitlines() occurs ~179 times in CPython3 standard library, so was
deemed worthy to implement. The method has subtle semantic differences
from just .split("\n"). It is also defined as working for any end-of-line
combination, but this is currently not implemented - it works only with
LF line-endings (which should be OK for text strings on any platforms,
but not OK for bytes).
</content>
</entry>
<entry>
<title>objstr: Expose mp_obj_str_split() for reuse in other modules.</title>
<updated>2015-03-23T20:43:37+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-03-23T20:15:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=870517123333bb23751332ea6e5a65f690423971'/>
<id>urn:sha1:870517123333bb23751332ea6e5a65f690423971</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Remove unnecessary and unused sgn argument from pfenv_print_mp_int.</title>
<updated>2015-03-14T22:32:40+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-14T22:32:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fa1edff006ced6f2e4b4ba4f899809c0d2a63de0'/>
<id>urn:sha1:fa1edff006ced6f2e4b4ba4f899809c0d2a63de0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>objstr: Fix bytes creation from array of long ints.</title>
<updated>2015-02-09T04:11:49+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-02-09T04:11:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=194117a066fa0af6cbe712223195e4ff02037298'/>
<id>urn:sha1:194117a066fa0af6cbe712223195e4ff02037298</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Change vstr_null_terminate -&gt; vstr_null_terminated_str, returns str.</title>
<updated>2015-01-29T13:57:23+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-29T13:57:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=827b0f747b2aa4870ef8de90cb0c3a4151e5ce71'/>
<id>urn:sha1:827b0f747b2aa4870ef8de90cb0c3a4151e5ce71</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Change vstr so that it doesn't null terminate buffer by default.</title>
<updated>2015-01-28T23:43:01+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-28T23:43:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0d3cb6726ddc1bab9fdd11a0aaa259fb436da4b2'/>
<id>urn:sha1:0d3cb6726ddc1bab9fdd11a0aaa259fb436da4b2</id>
<content type='text'>
This cleans up vstr so that it's a pure "variable buffer", and the user
can decide whether they need to add a terminating null byte.  In most
places where vstr is used, the vstr did not need to be null terminated
and so this patch saves code size, a tiny bit of RAM, and makes vstr
usage more efficient.  When null termination is needed it must be
done explicitly using vstr_null_terminate.
</content>
</entry>
<entry>
<title>py: bytes(): Make sure we add values as bytes, not as chars.</title>
<updated>2015-01-28T20:29:07+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-01-28T20:29:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bbd9251bac5bf7e2c2055a8b17172b46e7ff8cd0'/>
<id>urn:sha1:bbd9251bac5bf7e2c2055a8b17172b46e7ff8cd0</id>
<content type='text'>
</content>
</entry>
</feed>
