<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/unicode, branch 6.0.0-alpha.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.0-alpha.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.0-alpha.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-09-06T06:43:09+00:00</updated>
<entry>
<title>py/objstr: Add check for valid UTF-8 when making a str from bytes.</title>
<updated>2017-09-06T06:43:09+00:00</updated>
<author>
<name>tll</name>
<email>1040424979@qq.com</email>
</author>
<published>2017-06-24T00:38:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=68c28174d0e0ec3f6b1461aea3a0b6a1b84610bb'/>
<id>urn:sha1:68c28174d0e0ec3f6b1461aea3a0b6a1b84610bb</id>
<content type='text'>
This patch adds a function utf8_check() to check for a valid UTF-8 encoded
string, and calls it when constructing a str from raw bytes.  The feature
is selectable at compile time via MICROPY_PY_BUILTINS_STR_UNICODE_CHECK and
is enabled if unicode is enabled.  It costs about 110 bytes on Thumb-2, 150
bytes on Xtensa and 170 bytes on x86-64.
</content>
</entry>
<entry>
<title>tests: Improve coverage of array, range, dict, slice, exc, unicode.</title>
<updated>2016-10-17T00:43:47+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-17T00:43:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e9404e5f5f058db954ac0a92cb5acfcef6f6724a'/>
<id>urn:sha1:e9404e5f5f058db954ac0a92cb5acfcef6f6724a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/unicode_subscr.py: Detailed test for subscripting unicode strings.</title>
<updated>2016-07-25T16:28:19+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-25T16:27:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d1771bbae0f68e2700c56aa8b97819b2acb55a7a'/>
<id>urn:sha1:d1771bbae0f68e2700c56aa8b97819b2acb55a7a</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
