<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/unicode/unicode.py, branch 5.0.0</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=5.0.0</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=5.0.0'/>
<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: 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>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 unicode test.</title>
<updated>2014-06-26T21:04:17+00:00</updated>
<author>
<name>Chris Angelico</name>
<email>rosuav@gmail.com</email>
</author>
<published>2014-06-03T19:28:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1e3781bc3527f72053fdc4aad4f4887c567c457c'/>
<id>urn:sha1:1e3781bc3527f72053fdc4aad4f4887c567c457c</id>
<content type='text'>
</content>
</entry>
</feed>
