<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/binary.c, branch v1.9.2</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.9.2</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.9.2'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-08-15T01:33:43+00:00</updated>
<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>all: Use the name MicroPython consistently in comments</title>
<updated>2017-07-31T08:35:40+00:00</updated>
<author>
<name>Alexander Steffen</name>
<email>devel.20.webmeister@spamgourmet.com</email>
</author>
<published>2017-06-30T07:22:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=55f33240f3d7051d4213629e92437a36f1fac50e'/>
<id>urn:sha1:55f33240f3d7051d4213629e92437a36f1fac50e</id>
<content type='text'>
There were several different spellings of MicroPython present in comments,
when there should be only one.
</content>
</entry>
<entry>
<title>py/binary: Add missing "break" statements.</title>
<updated>2017-07-03T16:11:46+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-07-03T16:11:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9aeba3e41b70558e3d78f1a19a88e3eafc7bd794'/>
<id>urn:sha1:9aeba3e41b70558e3d78f1a19a88e3eafc7bd794</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/binary: Handle storing big-ints to all arrays types.</title>
<updated>2017-05-09T00:41:00+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-05-09T00:41:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6cfa61a4cc60a877836537092d763bce3444588a'/>
<id>urn:sha1:6cfa61a4cc60a877836537092d763bce3444588a</id>
<content type='text'>
Prior to this patch only 'q' and 'Q' type arrays could store big-int
values.  With this patch any big int that is stored to an array is handled
by the big-int implementation, regardless of the typecode of the array.
This allows arrays to work with all type sizes on all architectures.
</content>
</entry>
<entry>
<title>py/binary: mp_binary_get_size: Raise error on unsupported typecodes.</title>
<updated>2017-01-17T19:53:06+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-01-17T19:50:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=af9046193148084f008501434e4c9f49fedc053f'/>
<id>urn:sha1:af9046193148084f008501434e4c9f49fedc053f</id>
<content type='text'>
Previouly, we had errors checked in callers, which led to duplicate code
or missing checks in some places.
</content>
</entry>
<entry>
<title>py/binary: Do zero extension when storing a value larger than word size.</title>
<updated>2016-12-12T04:00:06+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-12-12T04:00:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a3c61004c2139091b24c81e22fa5afa9fa5f4979'/>
<id>urn:sha1:a3c61004c2139091b24c81e22fa5afa9fa5f4979</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.</title>
<updated>2015-11-29T14:25:35+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-27T17:01:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=999cedb90ff0827cdb9dfe0e4faa6ebc1739d271'/>
<id>urn:sha1:999cedb90ff0827cdb9dfe0e4faa6ebc1739d271</id>
<content type='text'>
This allows the mp_obj_t type to be configured to something other than a
pointer-sized primitive type.

This patch also includes additional changes to allow the code to compile
when sizeof(mp_uint_t) != sizeof(void*), such as using size_t instead of
mp_uint_t, and various casts.
</content>
</entry>
<entry>
<title>py/binary: Make use of MP_ALIGN.</title>
<updated>2015-11-27T12:05:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-27T12:05:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=88a9103b3c31a3ecbd70669a53d82dc5a947dfe8'/>
<id>urn:sha1:88a9103b3c31a3ecbd70669a53d82dc5a947dfe8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objarray: Allow to create array of void pointers, as extension to CPython.</title>
<updated>2015-10-12T07:13:51+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-10-12T07:10:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=91fc075a33a6f0bf8e1a07b797f6fd01207a5e17'/>
<id>urn:sha1:91fc075a33a6f0bf8e1a07b797f6fd01207a5e17</id>
<content type='text'>
Using 'P' format specifier (matches struct module). This is another shortcut
for FFI, just as previously introduced "array of objects" ('O').
</content>
</entry>
<entry>
<title>py/binary: Add support for array('q') and array('Q').</title>
<updated>2015-09-01T15:31:48+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-01T15:25:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=81794fcd31e604fb74bef89d749ee839b7dfc58f'/>
<id>urn:sha1:81794fcd31e604fb74bef89d749ee839b7dfc58f</id>
<content type='text'>
</content>
</entry>
</feed>
