<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/basics/builtin_reversed.py, branch 0.9.5</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.9.5</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.9.5'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-01-21T00:19:42+00:00</updated>
<entry>
<title>py: Implement __reversed__ slot.</title>
<updated>2015-01-21T00:19:42+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-21T00:19:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=962a5d50c94f01ca8dc7d46fe568535d713d59d0'/>
<id>urn:sha1:962a5d50c94f01ca8dc7d46fe568535d713d59d0</id>
<content type='text'>
Addresses issue #1073.
</content>
</entry>
<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>
</feed>
