<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/unicode/file2.py, branch 4.0.0-alpha.4</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=4.0.0-alpha.4</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=4.0.0-alpha.4'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-01-29T14:56:09+00:00</updated>
<entry>
<title>tests: Add some tests to improve coverage.</title>
<updated>2015-01-29T14:56:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-29T14:56:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=92ab95f21539d94c2139974b3995699a155f5a97'/>
<id>urn:sha1:92ab95f21539d94c2139974b3995699a155f5a97</id>
<content type='text'>
</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>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>
