<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/objstr.c, branch v1.5.2</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.5.2</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.5.2'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-12-20T14:52:11+00:00</updated>
<entry>
<title>py/objstr: Applying % (format) operator to bytes should return bytes, not str.</title>
<updated>2015-12-20T14:52:11+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-20T14:50:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d50f649cf8a10c98085f10ef476d43e902458e3c'/>
<id>urn:sha1:d50f649cf8a10c98085f10ef476d43e902458e3c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objstr: Make sure that b"%s" % b"foo" uses undecorated bytes value.</title>
<updated>2015-12-20T14:51:59+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-20T14:44:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ef63ab5724dd7c5696ee5c07bf30ac7444df9fb6'/>
<id>urn:sha1:ef63ab5724dd7c5696ee5c07bf30ac7444df9fb6</id>
<content type='text'>
I.e. the expected result for above is b"foo", whereas previously we got
b"b'foo'".
</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: Change qstr_* functions to use size_t as the type for str len arg.</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-27T12:23:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c3f64d9799cdf8af88087eebe6628e83d658405c'/>
<id>urn:sha1:c3f64d9799cdf8af88087eebe6628e83d658405c</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
