<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/basics/struct1.py, branch v1.8.4</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.4</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.4'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-05-14T12:54:09+00:00</updated>
<entry>
<title>tests/struct1: Add testcase for an unknown type char.</title>
<updated>2016-05-14T12:54:09+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-14T12:54:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=719f8c044a9d30a8d9f4356af1310f18e82e5b67'/>
<id>urn:sha1:719f8c044a9d30a8d9f4356af1310f18e82e5b67</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Add ustruct.pack_into and unpack_from</title>
<updated>2016-01-19T12:25:28+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-12-24T03:11:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a17755ee8ba2982505d349e0f06acdabe943d33e'/>
<id>urn:sha1:a17755ee8ba2982505d349e0f06acdabe943d33e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/base/struct1.py: Add test for repetition counters.</title>
<updated>2015-10-31T15:55:31+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-10-31T15:43:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0bd3f3291d3ea0252a91653a1edcbfa83d524834'/>
<id>urn:sha1:0bd3f3291d3ea0252a91653a1edcbfa83d524834</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Add further tests for mpz code.</title>
<updated>2015-10-01T17:49:37+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-01T17:49:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a81539db25d443826e5247fefda8ae73bad64056'/>
<id>urn:sha1:a81539db25d443826e5247fefda8ae73bad64056</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Add tests to improve coverage of objstr.c.</title>
<updated>2015-09-03T22:06:18+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-03T22:06:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=25afc7da0db43754f6b4373a10b66551dd3cbd57'/>
<id>urn:sha1:25afc7da0db43754f6b4373a10b66551dd3cbd57</id>
<content type='text'>
</content>
</entry>
<entry>
<title>modstruct: Rename module to "ustruct", to allow full Python-level impl.</title>
<updated>2015-05-04T13:53:52+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-05-04T13:35:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3d3ef36e977b5f5a4153b8df6447f3f73e4726e3'/>
<id>urn:sha1:3d3ef36e977b5f5a4153b8df6447f3f73e4726e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Support conversion of bignum to bytes.</title>
<updated>2015-04-25T22:16:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-25T22:16:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=271d18eb08ec488ee45f8e6cd852e8236074f082'/>
<id>urn:sha1:271d18eb08ec488ee45f8e6cd852e8236074f082</id>
<content type='text'>
This gets int.to_bytes working for bignum, and also struct.pack with 'q'
and 'Q' args on 32-bit machines.

Addresses issue #1155.
</content>
</entry>
<entry>
<title>tests: Add some more tests to improve code coverage of corner cases.</title>
<updated>2015-04-04T23:03:43+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-04T23:03:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e5c4362a98cf31d909476d9f06825228f05a2c82'/>
<id>urn:sha1:e5c4362a98cf31d909476d9f06825228f05a2c82</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack.</title>
<updated>2014-12-05T23:13:52+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-12-05T23:13:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=be6d8be91e133e98117025062df0e63aaf87efd2'/>
<id>urn:sha1:be6d8be91e133e98117025062df0e63aaf87efd2</id>
<content type='text'>
mp_obj_int_get_truncated is used as a "fast path" int accessor that
doesn't check for overflow and returns the int truncated to the machine
word size, ie mp_int_t.

Use mp_obj_int_get_truncated to fix struct.pack when packing maximum word
sized values.

Addresses issues #779 and #998.
</content>
</entry>
<entry>
<title>modstruct: Fix alignment handling issues.</title>
<updated>2014-06-25T20:34:44+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-25T19:25:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7a2f16694907fbe8bf5445e30d061f4bb1f9517a'/>
<id>urn:sha1:7a2f16694907fbe8bf5445e30d061f4bb1f9517a</id>
<content type='text'>
Also, factor out mp_binary_get_int() function.
</content>
</entry>
</feed>
