<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests, 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-12T22:23:53+00:00</updated>
<entry>
<title>extmod: Finish rename of zlib to zlibd; enable zlibd on stmhal.</title>
<updated>2014-08-12T22:23:53+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-12T22:23:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1ddd844815014d01f342489ced131bc73980e0be'/>
<id>urn:sha1:1ddd844815014d01f342489ced131bc73980e0be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Add test for zlibd module.</title>
<updated>2014-08-12T21:26:26+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-08-10T14:17:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5073d3da07cff017cc567ebc73f06d862c21c839'/>
<id>urn:sha1:5073d3da07cff017cc567ebc73f06d862c21c839</id>
<content type='text'>
</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>
<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, pyb: Update pin test.</title>
<updated>2014-08-08T21:38:58+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-08T21:38:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b92e7533d3b40fd5129982370f177f47b2790df8'/>
<id>urn:sha1:b92e7533d3b40fd5129982370f177f47b2790df8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Implement __file__ attribute for modules.</title>
<updated>2014-07-28T18:21:59+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-07-25T08:00:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d0f5e61ab58892ecd3b0838adeea3cde330da3f1'/>
<id>urn:sha1:d0f5e61ab58892ecd3b0838adeea3cde330da3f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Add testcase for read by length past EOF.</title>
<updated>2014-07-21T21:11:37+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-07-21T21:11:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=512465bc66082a37cb696ef7c78e3ee878ffd92f'/>
<id>urn:sha1:512465bc66082a37cb696ef7c78e3ee878ffd92f</id>
<content type='text'>
Currently broken for unicode input streams.
</content>
</entry>
<entry>
<title>py: Add stream reading of n unicode chars; unicode support by default.</title>
<updated>2014-07-19T17:34:04+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-16T10:45:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1694bc733d3ace8072c58e7da457dd2995998189'/>
<id>urn:sha1:1694bc733d3ace8072c58e7da457dd2995998189</id>
<content type='text'>
With unicode enabled, this patch allows reading a fixed number of
characters from text-mode streams; eg file.read(5) will read 5 unicode
chars, which can made of more than 5 bytes.

For an ASCII stream (ie no chars &gt; 127) it only needs to do 1 read.  If
there are lots of non-ASCII chars in a stream, then it needs multiple
reads of the underlying object.

Adds a new test for this case.  Enables unicode support by default on
unix and stmhal ports.
</content>
</entry>
</feed>
