<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/objstr.c, branch v1.5.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.5.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.5.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-10-20T11:38:54+00:00</updated>
<entry>
<title>py: With obj repr "C", change raw str accessor from macro to function.</title>
<updated>2015-10-20T11:38:54+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-18T22:09:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=04353cc85e02e96bba374c2f2097d2e192c95193'/>
<id>urn:sha1:04353cc85e02e96bba374c2f2097d2e192c95193</id>
<content type='text'>
This saves around 1000 bytes (Thumb2 arch) because in repr "C" it is
costly to check and extract a qstr.  So making such check/extract a
function instead of a macro saves lots of code space.
</content>
</entry>
<entry>
<title>py: Add mp_obj_is_float function (macro) and use it where appropriate.</title>
<updated>2015-10-20T11:35:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-08-20T22:30:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=aaef1851a748af95f8b105ef2d1d4f35e6ede02b'/>
<id>urn:sha1:aaef1851a748af95f8b105ef2d1d4f35e6ede02b</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>
<entry>
<title>py: Eliminate some cases which trigger unused parameter warnings.</title>
<updated>2015-09-04T15:53:46+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-04T15:53:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3a2171e4061f3a6e3f00c28edf78ff9473355887'/>
<id>urn:sha1:3a2171e4061f3a6e3f00c28edf78ff9473355887</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objstr: Check for keyword args before checking for no posn args.</title>
<updated>2015-09-04T15:51:55+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-04T15:51:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=42cec5c893c4055c9c3a4b224bbf65bf0dfd9f49'/>
<id>urn:sha1:42cec5c893c4055c9c3a4b224bbf65bf0dfd9f49</id>
<content type='text'>
Otherwise something like bytes(abc=123) will succeed.
</content>
</entry>
<entry>
<title>py/objstr: For str.endswith(s, start) raise NotImpl instead of assert.</title>
<updated>2015-09-04T15:49:56+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-04T15:49:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=55b11e6d38731ffb1a7378f936c940c61aef8743'/>
<id>urn:sha1:55b11e6d38731ffb1a7378f936c940c61aef8743</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Use mp_not_implemented consistently for not implemented features.</title>
<updated>2015-09-03T22:14:06+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-03T22:14:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=821b7f22fec342cf0b1b61d959e6c07b9543c696'/>
<id>urn:sha1:821b7f22fec342cf0b1b61d959e6c07b9543c696</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objstr: Simplify printing of bytes objects when unicode enabled.</title>
<updated>2015-09-03T22:03:57+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-03T22:03:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e2aa1177986d11cbd19ab84ca41b6f0dce51ad01'/>
<id>urn:sha1:e2aa1177986d11cbd19ab84ca41b6f0dce51ad01</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Inline single use of mp_obj_str_get_len in mp_obj_len_maybe.</title>
<updated>2015-09-03T22:01:07+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-03T22:01:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=516982242df9eff369f5b2eb9e320f48ba19cdc2'/>
<id>urn:sha1:516982242df9eff369f5b2eb9e320f48ba19cdc2</id>
<content type='text'>
Gets rid of redundant double check for string type.

Also remove obsolete declaration of mp_obj_str_get_hash.
</content>
</entry>
<entry>
<title>py/objstr: Make str.rsplit(None,n) raise NotImpl instead of assert(0).</title>
<updated>2015-09-01T14:35:31+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-01T14:35:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=22602cc37bc2454568cc9e8834a8ba444c85be05'/>
<id>urn:sha1:22602cc37bc2454568cc9e8834a8ba444c85be05</id>
<content type='text'>
</content>
</entry>
</feed>
