<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/unicode, branch v1.7</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.7</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.7'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-09-07T20:36:24+00:00</updated>
<entry>
<title>tests: Move int+unicode test to unicode-specific test directory.</title>
<updated>2015-09-07T20:36:24+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-07T20:36:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=75a811a6df51392868ba35e9e341d882b842b066'/>
<id>urn:sha1:75a811a6df51392868ba35e9e341d882b842b066</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/lexer: Raise SyntaxError when unicode char point out of range.</title>
<updated>2015-09-07T16:19:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-07T16:19:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0be3c70cd88da39ee4dcc328ba3bde1e5abcd406'/>
<id>urn:sha1:0be3c70cd88da39ee4dcc328ba3bde1e5abcd406</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objstr: Make string formatting 8-bit clean.</title>
<updated>2015-08-29T22:13:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-08-26T14:29:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=51b9a0d0c4dfa265739708016ad85513d330987f'/>
<id>urn:sha1:51b9a0d0c4dfa265739708016ad85513d330987f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Support unicode (utf-8 encoded) identifiers in Python source.</title>
<updated>2015-06-09T10:58:07+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-06-09T10:58:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7ed58cb66379f4d87e3e8fbb68baada19048ac18'/>
<id>urn:sha1:7ed58cb66379f4d87e3e8fbb68baada19048ac18</id>
<content type='text'>
Enabled simply by making the identifier lexing code 8-bit clean.
</content>
</entry>
<entry>
<title>tests: Add missing tests for builtins, and many other things.</title>
<updated>2015-04-04T21:05:30+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-04T21:05:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9dd36404646f857c4f250537bac0d9a8ad041d25'/>
<id>urn:sha1:9dd36404646f857c4f250537bac0d9a8ad041d25</id>
<content type='text'>
</content>
</entry>
<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>
<entry>
<title>tests: Add basic test for unicode file i/o.</title>
<updated>2014-06-26T21:04:20+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-15T20:28:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ed07d035d52764b3b02bfa8488f2e0445c28ea2f'/>
<id>urn:sha1:ed07d035d52764b3b02bfa8488f2e0445c28ea2f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Test for explicit start/end args to str methods for unicode.</title>
<updated>2014-06-26T21:04:20+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-14T21:45:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=63143c94cef353d7bae13f7b13650801bb901c94'/>
<id>urn:sha1:63143c94cef353d7bae13f7b13650801bb901c94</id>
<content type='text'>
</content>
</entry>
</feed>
