<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/binary.c, branch v1.4.5</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4.5</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4.5'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-05-17T17:12:19+00:00</updated>
<entry>
<title>py/binary: Make return type of mp_binary_get_size size_t instead of int.</title>
<updated>2015-05-17T17:12:19+00:00</updated>
<author>
<name>Kaspar Schleiser</name>
<email>kaspar@schleiser.de</email>
</author>
<published>2015-05-10T11:04:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f5dd6f7f3707b67acbd1dbfe71cad2b958d5d7be'/>
<id>urn:sha1:f5dd6f7f3707b67acbd1dbfe71cad2b958d5d7be</id>
<content type='text'>
Fixes sign-compare warning.
</content>
</entry>
<entry>
<title>py: Fix handling of negative numbers in struct.pack of q/Q.</title>
<updated>2015-04-25T22:51:14+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-25T22:51:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9472907ae1906ccff7ce5cab24f0fa9d146c4534'/>
<id>urn:sha1:9472907ae1906ccff7ce5cab24f0fa9d146c4534</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>objarray: Support array('O'), array of objects, as extension to CPython.</title>
<updated>2015-03-05T20:58:31+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-03-05T20:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=24c1000741dc6c93e2db64fbe1d69159a72b87e8'/>
<id>urn:sha1:24c1000741dc6c93e2db64fbe1d69159a72b87e8</id>
<content type='text'>
Might be useful at least for memoryview hacks.
</content>
</entry>
<entry>
<title>py: Add support for floats in mp_binary_{get,set}_val()</title>
<updated>2015-01-27T20:49:01+00:00</updated>
<author>
<name>David Steinberg</name>
<email>david.steinberg.dev@gmail.com</email>
</author>
<published>2015-01-25T02:50:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0b3014ce3ac381e886c956137e4e5475061a5ddc'/>
<id>urn:sha1:0b3014ce3ac381e886c956137e4e5475061a5ddc</id>
<content type='text'>
- This then provides support for floats in the struct package
</content>
</entry>
<entry>
<title>binary: Rework array accessors. They work with native, not stdint types.</title>
<updated>2015-01-24T01:18:33+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-01-24T01:18:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=91232d38505b47330351839b03fd8467c9843322'/>
<id>urn:sha1:91232d38505b47330351839b03fd8467c9843322</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py, unix: Allow to compile with -Wsign-compare.</title>
<updated>2015-01-16T17:47:07+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-16T17:47:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=963a5a3e82ded7ee75adae72ae7cb14796fa150e'/>
<id>urn:sha1:963a5a3e82ded7ee75adae72ae7cb14796fa150e</id>
<content type='text'>
See issue #699.
</content>
</entry>
<entry>
<title>py: Move to guarded includes, everywhere in py/ core.</title>
<updated>2015-01-01T20:32:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-01T20:27:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=51dfcb4bb7613ed164952712d9a5235a7b833cde'/>
<id>urn:sha1:51dfcb4bb7613ed164952712d9a5235a7b833cde</id>
<content type='text'>
Addresses issue #1022.
</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>py: Add support for float/double arrays in array module.</title>
<updated>2014-11-21T18:16:25+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-11-21T18:16:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c9f8f653adbff865d5cebdf0e46dc22680cebce4'/>
<id>urn:sha1:c9f8f653adbff865d5cebdf0e46dc22680cebce4</id>
<content type='text'>
Addresses issue #981.
</content>
</entry>
</feed>
