<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/extmod, branch 3.0.0-beta.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=3.0.0-beta.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=3.0.0-beta.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2018-05-06T17:31:53+00:00</updated>
<entry>
<title>tests: add new tests for uhashlib differences</title>
<updated>2018-05-06T17:31:53+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2018-05-06T17:26:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b2084d37d694df2803756375b62beb2b1ade8b80'/>
<id>urn:sha1:b2084d37d694df2803756375b62beb2b1ade8b80</id>
<content type='text'>
.. these tests currently fail, but a subsequent commit will
fix them
</content>
</entry>
<entry>
<title>tests: Add new tests for ubinascii differences</title>
<updated>2018-05-01T01:06:29+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2018-05-01T00:58:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e7f463320f8675d2f9acb6819ad0a2556672be08'/>
<id>urn:sha1:e7f463320f8675d2f9acb6819ad0a2556672be08</id>
<content type='text'>
.. some of these tests currently fail, but a subsequent commit will
fix them.
</content>
</entry>
<entry>
<title>Add VfsFat.label property</title>
<updated>2018-03-28T02:28:18+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2018-03-28T02:28:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fe7f405fc7708cdbe426e2f255b01a1a77e574d9'/>
<id>urn:sha1:fe7f405fc7708cdbe426e2f255b01a1a77e574d9</id>
<content type='text'>
These allow accessing the filesystem label.  For instance,
in boot.py, you can set the label on the built-in storage with:
   storage.remount('/', False)
   storage.getmount('/').label = "NEWLABEL"
   storage.remount('/', True)

Users with multiple CIRCUITPY boards may find it desirable to
choose a different label for each board they own.
</content>
</entry>
<entry>
<title>extmod/vfs_fat_file: Implement SEEK_CUR for non-zero offset.</title>
<updated>2018-03-23T14:19:56+00:00</updated>
<author>
<name>Ayke van Laethem</name>
<email>aykevanlaethem@gmail.com</email>
</author>
<published>2017-12-19T22:47:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fa55b15ac6a15be0c11123753760324547518a18'/>
<id>urn:sha1:fa55b15ac6a15be0c11123753760324547518a18</id>
<content type='text'>
CPython doesn't allow SEEK_CUR with non-zero offset for files in text mode,
and uPy inherited this behaviour for both text and binary files.  It makes
sense to provide full support for SEEK_CUR of binary-mode files in uPy, and
to do this in a minimal way means also allowing to use SEEK_CUR with
non-zero offsets on text-mode files.  That seems to be a fair compromise.
</content>
</entry>
<entry>
<title>tests/extmod: Add test for '-' in character class in regex.</title>
<updated>2017-10-05T00:33:49+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-10-05T00:32:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=98dd126e9818309e4ec9b561e7b6b9f7fa039cb9'/>
<id>urn:sha1:98dd126e9818309e4ec9b561e7b6b9f7fa039cb9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/extmod: Add test for ure regexes leading to infinite recursion.</title>
<updated>2017-10-02T21:24:32+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-10-02T21:24:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8e0b9f495b1967bf7503bfe4e66687955eee1922'/>
<id>urn:sha1:8e0b9f495b1967bf7503bfe4e66687955eee1922</id>
<content type='text'>
These now should be caught properly and lead to RuntimeError instead of
crash.
</content>
</entry>
<entry>
<title>extmod/modubinascii: Rewrite mod_binascii_a2b_base64.</title>
<updated>2017-08-17T06:25:51+00:00</updated>
<author>
<name>Alex Robbins</name>
<email>alexdotrobbins@gmail.com</email>
</author>
<published>2017-08-04T22:30:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c89254fd0f7f4517163e095f144bfe154f47758a'/>
<id>urn:sha1:c89254fd0f7f4517163e095f144bfe154f47758a</id>
<content type='text'>
This implementation ignores invalid characters in the input. This allows
it to decode the output of b2a_base64, and also mimics the behavior of
CPython.
</content>
</entry>
<entry>
<title>extmod/modussl_axtls: Allow to close ssl stream multiple times.</title>
<updated>2017-07-19T21:20:53+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-07-19T21:20:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4368ae31424f93f3272209ea61847f2406dd23ad'/>
<id>urn:sha1:4368ae31424f93f3272209ea61847f2406dd23ad</id>
<content type='text'>
Make sure that 2nd close has no effect and operations on closed streams
are handled properly.
</content>
</entry>
<entry>
<title>extmod/modubinascii: Add check for empty buffer passed to hexlify.</title>
<updated>2017-07-03T04:52:00+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-07-03T04:52:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b86c65d31c61af42a3b634c6a3150917509e3e8b'/>
<id>urn:sha1:b86c65d31c61af42a3b634c6a3150917509e3e8b</id>
<content type='text'>
Previous to this patch hexlify(b'', b':') would lead to a bad crash due to
the computed length of the result being -1=0xffffffff.
</content>
</entry>
<entry>
<title>extmod/modure: If input string is bytes, return bytes results too.</title>
<updated>2017-06-30T22:25:45+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-06-30T22:25:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=58b7b01cb539cb23109faadaf373e0134b81a6da'/>
<id>urn:sha1:58b7b01cb539cb23109faadaf373e0134b81a6da</id>
<content type='text'>
This applies to match.group() and split().

For ARM Thumb2, this increased code size by 12 bytes.
</content>
</entry>
</feed>
