<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/objstr.c, branch v1.3.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-08-27T08:20:30+00:00</updated>
<entry>
<title>py: Improve efficiency of MP_OBJ_IS_STR_OR_BYTES.</title>
<updated>2014-08-27T08:20:30+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-27T08:20:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a75b02ea9be41c27b87fd80ad37e7c26b4583fad'/>
<id>urn:sha1:a75b02ea9be41c27b87fd80ad37e7c26b4583fad</id>
<content type='text'>
Saves ROM (16 on stmhal, 240 on 64-bit unix) and should be quicker since
there is 1 less branch.
</content>
</entry>
<entry>
<title>Make int(b'123') work properly.</title>
<updated>2014-08-27T02:15:04+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2014-08-26T19:44:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b7f7c655ed4b54d9ff8ec04908199d04d38b7528'/>
<id>urn:sha1:b7f7c655ed4b54d9ff8ec04908199d04d38b7528</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Fix mult by negative number of tuple, list, str, bytes.</title>
<updated>2014-08-13T12:22:24+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-13T12:22:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9b7a8ee8f1032a1c9172afe0bd3ac5be7780e4a2'/>
<id>urn:sha1:9b7a8ee8f1032a1c9172afe0bd3ac5be7780e4a2</id>
<content type='text'>
Multiplication of a tuple, list, str or bytes now yields an empty
sequence (instead of crashing).  Addresses issue #799

Also added ability to mult bytes on LHS by integer.
</content>
</entry>
<entry>
<title>py, objstr: Optimise bytes subscr when unicode is enabled.</title>
<updated>2014-08-11T22:24:29+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-11T22:24:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2eb1f604ee3a1b7284ae23581a9c0e2d1e9066a1'/>
<id>urn:sha1:2eb1f604ee3a1b7284ae23581a9c0e2d1e9066a1</id>
<content type='text'>
Saves code bytes and makes it faster, so why not?
</content>
</entry>
<entry>
<title>objstr: Make sure that bytes are indexed as bytes, not as unicode.</title>
<updated>2014-08-11T19:38:00+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-08-11T19:36:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9749b2fb0d6c4ff65c7395e09028102c9508b34a'/>
<id>urn:sha1:9749b2fb0d6c4ff65c7395e09028102c9508b34a</id>
<content type='text'>
Fixes #795.
</content>
</entry>
<entry>
<title>objstr: split(): check arg type consistency (str vs bytes).</title>
<updated>2014-08-10T20:21:16+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-08-10T20:14:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0c5498540b2005e39422647d2ca9cad1a4ff731b'/>
<id>urn:sha1:0c5498540b2005e39422647d2ca9cad1a4ff731b</id>
<content type='text'>
Similar to other methods and following CPython3 strictness.
</content>
</entry>
<entry>
<title>py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself.</title>
<updated>2014-07-31T09:49:14+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-31T09:49:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bb4c6f35c627ab3487cdd6bafb4588cc633cd6a4'/>
<id>urn:sha1:bb4c6f35c627ab3487cdd6bafb4588cc633cd6a4</id>
<content type='text'>
Addresses issue #724.
</content>
</entry>
<entry>
<title>py: Add mp_obj_str_builder_end_with_len.</title>
<updated>2014-07-31T09:29:56+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-31T09:29:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5f27a7e81135f7a7c0c75ee551fe0c6103048046'/>
<id>urn:sha1:5f27a7e81135f7a7c0c75ee551fe0c6103048046</id>
<content type='text'>
This allows to create str's with a smaller length than initially asked
for.
</content>
</entry>
<entry>
<title>Rename machine_(u)int_t to mp_(u)int_t.</title>
<updated>2014-07-03T12:25:24+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-03T12:25:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=40f3c026823f8951a2fa04e9c7fc93c75bc27bec'/>
<id>urn:sha1:40f3c026823f8951a2fa04e9c7fc93c75bc27bec</id>
<content type='text'>
See discussion in issue #50.
</content>
</entry>
<entry>
<title>py: Make unichar_charlen() accept/return machine_uint_t.</title>
<updated>2014-06-28T20:15:29+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-28T20:14:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9e215fa4c2773b7a4102aec4203c9bf74aa0eccc'/>
<id>urn:sha1:9e215fa4c2773b7a4102aec4203c9bf74aa0eccc</id>
<content type='text'>
</content>
</entry>
</feed>
