<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests, branch 2.2.0rc1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.2.0rc1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.2.0rc1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-08-26T02:17:07+00:00</updated>
<entry>
<title>Initial merge of micropython v1.9.2 into circuitpython 2.0.0 (in development) master.</title>
<updated>2017-08-26T02:17:07+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2017-08-26T02:17:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ef61b5ecb59e9b4e37e3e3c023c62d583c23eb16'/>
<id>urn:sha1:ef61b5ecb59e9b4e37e3e3c023c62d583c23eb16</id>
<content type='text'>
cpx build compiles and loads and works in repl; test suite not run yet
esp8266 not tested yet
</content>
</entry>
<entry>
<title>atmel-samd: Introduce a nvm module for non-volatile byte-level memory access. (#203)</title>
<updated>2017-08-25T20:00:27+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2017-08-25T20:00:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=266be307770abe11c220eb493388807920914b7a'/>
<id>urn:sha1:266be307770abe11c220eb493388807920914b7a</id>
<content type='text'>
* atmel-samd: Introduce a nvm module for non-volatile byte-level memory access.

This allows for persisting small configuration values even when the file system
is read-only from CircuitPython.

Fixes #160

* Review feedback:
* Add tests.
* Fix non-zero index.
* Fix len()
</content>
</entry>
<entry>
<title>py/stream: seek: Consistently handle negative offset for SEEK_SET.</title>
<updated>2017-08-20T19:02:41+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-08-20T18:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e3383e9352ca7704e650b07038207719c60b56fb'/>
<id>urn:sha1:e3383e9352ca7704e650b07038207719c60b56fb</id>
<content type='text'>
Per POSIX, this is EINVAL, so raises OSError(EINVAL).
</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>py/binary: Change internal bytearray typecode from 0 to 1.</title>
<updated>2017-08-17T06:19:35+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-08-17T06:16:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=025e5f2b339377ebc54ebc9cab2612946145a6fa'/>
<id>urn:sha1:025e5f2b339377ebc54ebc9cab2612946145a6fa</id>
<content type='text'>
The value of 0 can't be used because otherwise mp_binary_get_size will let
a null byte through as the type code (intepreted as byterray).  This can
lead to invalid type-specifier strings being let through without an error
in the struct module, and even buffer overruns.
</content>
</entry>
<entry>
<title>extmod/modussl_mbedtls.c: Add ussl.getpeercert() method.</title>
<updated>2017-08-16T05:01:00+00:00</updated>
<author>
<name>Eric Poulsen</name>
<email>eric@zyxod.com</email>
</author>
<published>2017-08-15T14:49:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d5191edf7ff81f5f07243cb2a318508c1e9cc5df'/>
<id>urn:sha1:d5191edf7ff81f5f07243cb2a318508c1e9cc5df</id>
<content type='text'>
Behaviour is as per CPython but only the binary form is implemented here.
A test is included.
</content>
</entry>
<entry>
<title>py/binary.c: Fix bug when packing big-endian 'Q' values.</title>
<updated>2017-08-15T01:33:43+00:00</updated>
<author>
<name>Bas van Sisseren</name>
<email>bas@vansisseren.nl</email>
</author>
<published>2017-08-12T12:40:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a14ce77b28146526661c79c89b2e6ff6837c2bb0'/>
<id>urn:sha1:a14ce77b28146526661c79c89b2e6ff6837c2bb0</id>
<content type='text'>
Without bugfix:

    struct.pack('&gt;Q', 16)
    b'\x00\x00\x00\x10\x00\x00\x00\x00'

With bugfix:

    struct.pack('&gt;Q', 16)
    b'\x00\x00\x00\x00\x00\x00\x00\x10'
</content>
</entry>
<entry>
<title>Turn on Rosie CI testing to test new builds on real hardware.</title>
<updated>2017-08-12T00:16:13+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-07-03T22:05:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fab634e3eeb456e9d5dffa2cabb9ded39c45d6b6'/>
<id>urn:sha1:fab634e3eeb456e9d5dffa2cabb9ded39c45d6b6</id>
<content type='text'>
This introduces a skip_if module that can be used by tests to
determine when they should be skipped due to the environment.

Some tests have been split in order to have finer grained skip
control.
</content>
</entry>
<entry>
<title>py/modsys: Initial implementation of sys.getsizeof().</title>
<updated>2017-08-11T06:43:07+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-08-11T06:42:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bfc2092dc55d1faab4a6d7e832005afd61d25c3c'/>
<id>urn:sha1:bfc2092dc55d1faab4a6d7e832005afd61d25c3c</id>
<content type='text'>
Implemented as a new MP_UNARY_OP. This patch adds support lists, dicts and
instances.
</content>
</entry>
<entry>
<title>py/objstr: Raise an exception for wrong type on RHS of str binary op.</title>
<updated>2017-08-09T11:25:48+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-08-09T11:25:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3d25d9c7d96f9a54ad510391901af8f5bd82b306'/>
<id>urn:sha1:3d25d9c7d96f9a54ad510391901af8f5bd82b306</id>
<content type='text'>
The main case to catch is invalid types for the containment operator, of
the form str.__contains__(non-str).
</content>
</entry>
</feed>
