<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/io, branch v1.3.6</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.6</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.6'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-10-23T18:43:59+00:00</updated>
<entry>
<title>stream: Add optional 2nd "length" arg to .readinto() - extension to CPython.</title>
<updated>2014-10-23T18:43:59+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-10-23T18:22:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e2f8d98525ddc9ced9bbda3614de0b9b9d6bc291'/>
<id>urn:sha1:e2f8d98525ddc9ced9bbda3614de0b9b9d6bc291</id>
<content type='text'>
While extension to file.readinto() definition of CPython, the additional arg
is similar to what in CPython available in socket.recv_into().
</content>
</entry>
<entry>
<title>Use mode/encoding kwargs in io and unicode tests</title>
<updated>2014-10-21T19:10:38+00:00</updated>
<author>
<name>stijn</name>
<email>stinos@zoho.com</email>
</author>
<published>2014-10-04T06:54:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a3efe04dce9d5b4602b40414d3a23516ead85bc0'/>
<id>urn:sha1:a3efe04dce9d5b4602b40414d3a23516ead85bc0</id>
<content type='text'>
mode argument is used to assert it works
encoding argument is used to make sure CPython uses the correct encoding
as it does not automatically use utf-8
</content>
</entry>
<entry>
<title>unix, stmhal: Implement file.readinto() method.</title>
<updated>2014-10-18T19:44:07+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-10-18T19:44:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1a55b6a787ee7a568550ac0510632965af61c9ee'/>
<id>urn:sha1:1a55b6a787ee7a568550ac0510632965af61c9ee</id>
<content type='text'>
Also, usocket.readinto(). Known issue is that .readinto() should be available
only for binary files, but micropython uses single method table for both
binary and text files.
</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>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: Rename builtin "io" to "_io".</title>
<updated>2014-06-11T22:22:25+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-11T22:22:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fbdf2f1d63e39cb197e6cebb340af4a648c96121'/>
<id>urn:sha1:fbdf2f1d63e39cb197e6cebb340af4a648c96121</id>
<content type='text'>
Functionality we provide in builtin io module is fairly minimal. Some
code, including CPython stdlib, depends on more functionality. So, there's
a choice to either implement it in C, or move it _io, and let implement other
functionality in Python. 2nd choice is pursued. This setup matches CPython
too (_io is builtin, io is Python-level).
</content>
</entry>
<entry>
<title>py, stream: Implement readlines for a stream.</title>
<updated>2014-05-03T21:01:32+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-03T21:01:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d5f5b2f76698e29f9cc2f0ae682d2475c0d77baa'/>
<id>urn:sha1:d5f5b2f76698e29f9cc2f0ae682d2475c0d77baa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>modio: Implement io.StringIO class.</title>
<updated>2014-04-26T17:26:14+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-04-26T17:26:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=cb9dc086a34a501dd05c439277eb79c93c4c02a0'/>
<id>urn:sha1:cb9dc086a34a501dd05c439277eb79c93c4c02a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/file-with: Add testcase which failed for @dpgeorge.</title>
<updated>2014-04-04T09:15:39+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-04-04T09:14:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=072cf022e007e03a8b850a7197585403868923ab'/>
<id>urn:sha1:072cf022e007e03a8b850a7197585403868923ab</id>
<content type='text'>
Works on x86.
</content>
</entry>
<entry>
<title>unix file: Implement context manager protocol (for "with" statement).</title>
<updated>2014-04-03T19:09:05+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-04-03T13:42:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c61ce965909d1005e8ea45f40320aa5545cad522'/>
<id>urn:sha1:c61ce965909d1005e8ea45f40320aa5545cad522</id>
<content type='text'>
</content>
</entry>
</feed>
