<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests, branch v1.3.6</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.6</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.6'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-11-03T16:09:39+00:00</updated>
<entry>
<title>py: Fix builtin callable so it checks user-defined instances correctly.</title>
<updated>2014-11-03T16:09:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-11-03T16:09:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0344fa1ddfbe8674061fed8e904468b9bd2aa550'/>
<id>urn:sha1:0344fa1ddfbe8674061fed8e904468b9bd2aa550</id>
<content type='text'>
Addresses issue #953.
</content>
</entry>
<entry>
<title>py: Fix bug with right-shifting small ints by large amounts.</title>
<updated>2014-11-02T00:41:30+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-11-02T00:39:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=039887a0ac9bd02cfd84e4792d3d21a78bc06a7f'/>
<id>urn:sha1:039887a0ac9bd02cfd84e4792d3d21a78bc06a7f</id>
<content type='text'>
Undefined behavior in C, needs explicit check.
</content>
</entry>
<entry>
<title>tests: Add heapalloc.py.exp, since CPython can't generate it.</title>
<updated>2014-10-31T22:09:40+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-31T22:09:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c7da7838bab349ec703df0e99b14878a0c994f48'/>
<id>urn:sha1:c7da7838bab349ec703df0e99b14878a0c994f48</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Make gc.enable/disable just control auto-GC; alloc is still allowed.</title>
<updated>2014-10-31T21:30:46+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-31T21:30:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=109c1de015eeee385020233e2f8cc6f921149103'/>
<id>urn:sha1:109c1de015eeee385020233e2f8cc6f921149103</id>
<content type='text'>
gc.enable/disable are now the same as CPython: they just control whether
automatic garbage collection is enabled or not.  If disabled, you can
still allocate heap memory, and initiate a manual collection.
</content>
</entry>
<entry>
<title>py: Add builtin round function.</title>
<updated>2014-10-31T11:28:50+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-31T11:28:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1559a978100762efd84666befd134d5975ae8d4b'/>
<id>urn:sha1:1559a978100762efd84666befd134d5975ae8d4b</id>
<content type='text'>
Addresses issue #934.
</content>
</entry>
<entry>
<title>stmhal: Improve CAN print function.</title>
<updated>2014-10-30T23:16:05+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-30T23:13:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=efc49c5591d23f606a2e6203f9b4e4976aa3e6e3'/>
<id>urn:sha1:efc49c5591d23f606a2e6203f9b4e4976aa3e6e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Added and adapted CAN tests for extended messages</title>
<updated>2014-10-30T23:16:01+00:00</updated>
<author>
<name>Henrik Sölver</name>
<email>henrik.solver@gmail.com</email>
</author>
<published>2014-10-30T22:13:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6a15ac80dcc41dd950a9177b044ff8876d59710b'/>
<id>urn:sha1:6a15ac80dcc41dd950a9177b044ff8876d59710b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>objstr: Allow to convert any buffer proto object to str.</title>
<updated>2014-10-30T22:03:53+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-10-30T21:58:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e62a0fe36776f039149e7fab77323aa380b97c2e'/>
<id>urn:sha1:e62a0fe36776f039149e7fab77323aa380b97c2e</id>
<content type='text'>
Original motivation is to support converting bytearrays, but easier to just
support buffer protocol at all.
</content>
</entry>
<entry>
<title>moductypes: Add test for accessing UINT8 array.</title>
<updated>2014-10-30T01:50:37+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-10-30T01:48:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=66d08eb4fe7540f89aaab413f87f70b6eade04cf'/>
<id>urn:sha1:66d08eb4fe7540f89aaab413f87f70b6eade04cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>moductypes: Make sure we can apply .sizeof() to all aggregate types.</title>
<updated>2014-10-30T01:50:23+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-10-30T00:43:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2559e1395700caa3d3ffd21f3f9178d0b90004bf'/>
<id>urn:sha1:2559e1395700caa3d3ffd21f3f9178d0b90004bf</id>
<content type='text'>
Before, sizeof() could be applied to a structure field only if that field
was itself a structure. Now it can be applied to PTR and ARRAY fields too.
It's not possible to apply it to scalar fields though, because as soon as
scalar field (int or float) is dereferenced, its value is converted into
Python int/float value, and all original type info is lost. Moreover, we
allow sizeof of type definitions too, and there int is used to represent
(scalar) types. So, we have ambiguity what int may be - either dereferenced
scalar structure field, or encoded scalar type. So, rather throw an error
if user tries to apply sizeof() to int.
</content>
</entry>
</feed>
