<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/basics, branch v1.3</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-08-12T18:41:18+00:00</updated>
<entry>
<title>py: Improve range: add len, subscr, proper print.</title>
<updated>2014-08-12T18:41:18+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-12T18:41:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bb91f1195aec8eaca6d8f528118496cff71a101b'/>
<id>urn:sha1:bb91f1195aec8eaca6d8f528118496cff71a101b</id>
<content type='text'>
Can now index ranges with integers and slices, and reverse ranges
(although reversing is not very efficient).

Not sure how useful this stuff is, but gets us closer to having all of
Python's builtins.
</content>
</entry>
<entry>
<title>py: Implement builtin reversed() function.</title>
<updated>2014-08-12T17:33:40+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-12T17:33:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4c03b3a899d49f0f4f2c54903403aaa9b384c315'/>
<id>urn:sha1:4c03b3a899d49f0f4f2c54903403aaa9b384c315</id>
<content type='text'>
reversed function now implemented, and works for tuple, list, str, bytes
and user objects with __len__ and __getitem__.

Renamed mp_builtin_len to mp_obj_len to make it publically available (eg
for reversed).
</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>objarray: Implement equality testing between arrays and other buffers.</title>
<updated>2014-08-10T13:22:57+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-08-10T08:49:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5f930337bc352641699390ac1bf37ba64cd486d8'/>
<id>urn:sha1:5f930337bc352641699390ac1bf37ba64cd486d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Rename test scripts, changing - to _ for consistency.</title>
<updated>2014-07-05T05:14:29+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-05T05:14:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=539681fffd96082ca3b5d18643d4f08f65c47170'/>
<id>urn:sha1:539681fffd96082ca3b5d18643d4f08f65c47170</id>
<content type='text'>
From now on, all new tests must use underscore.

Addresses issue #727.
</content>
</entry>
<entry>
<title>py: Automatically ake __new__ a staticmethod.</title>
<updated>2014-07-05T04:55:00+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-05T04:55:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0182385ab0b4a1b2e549c92f8f5b621135aeb975'/>
<id>urn:sha1:0182385ab0b4a1b2e549c92f8f5b621135aeb975</id>
<content type='text'>
Addresses issue #622.
</content>
</entry>
<entry>
<title>modstruct: Fix alignment handling issues.</title>
<updated>2014-06-25T20:34:44+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-25T19:25:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7a2f16694907fbe8bf5445e30d061f4bb1f9517a'/>
<id>urn:sha1:7a2f16694907fbe8bf5445e30d061f4bb1f9517a</id>
<content type='text'>
Also, factor out mp_binary_get_int() function.
</content>
</entry>
<entry>
<title>objstr: Be 8-bit clean even for repr().</title>
<updated>2014-06-13T22:21:13+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-13T18:23:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2ec38a17d4e357f8f12ee6a2643e2dd2ff7a426e'/>
<id>urn:sha1:2ec38a17d4e357f8f12ee6a2643e2dd2ff7a426e</id>
<content type='text'>
This will allow roughly the same behavior as Python3 for non-ASCII strings,
for example, print("&lt;phrase in non-Latin script&gt;".split()) will print list
of words, not weird hex dump (like Python2 behaves). (Of course, that it
will print list of words, if there're "words" in that phrase at all, separated
by ASCII-compatible whitespace; that surely won't apply to every human
language in existence).
</content>
</entry>
<entry>
<title>tests: Add testcases for "complicated" args to generator functions.</title>
<updated>2014-06-11T17:43:47+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-11T17:22:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f4bf065dac9ee40e89f02115042e86c75ea3f22c'/>
<id>urn:sha1:f4bf065dac9ee40e89f02115042e86c75ea3f22c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Implement __contains__ special method.</title>
<updated>2014-06-10T22:07:56+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-06-10T22:07:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=58cbb4d661ee40af5ef2b6a6a7f15b1b2ee5b4e5'/>
<id>urn:sha1:58cbb4d661ee40af5ef2b6a6a7f15b1b2ee5b4e5</id>
<content type='text'>
</content>
</entry>
</feed>
