<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/objdict.c, branch v1.3.7</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.7</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.7'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-09-17T21:56:34+00:00</updated>
<entry>
<title>py: Add native json printing using existing print framework.</title>
<updated>2014-09-17T21:56:34+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-17T21:56:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=612045f53f7e5edf9faa359ee9ee52d490d58000'/>
<id>urn:sha1:612045f53f7e5edf9faa359ee9ee52d490d58000</id>
<content type='text'>
Also add start of ujson module with dumps implemented.  Enabled in unix
and stmhal ports.  Test passes on both.
</content>
</entry>
<entry>
<title>py: Make dict use a bit less RAM when iterating; properly del values.</title>
<updated>2014-09-17T14:53:03+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-17T14:53:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8a9b999f1c9a0edf84b2507940efb8deaaa380b8'/>
<id>urn:sha1:8a9b999f1c9a0edf84b2507940efb8deaaa380b8</id>
<content type='text'>
Heap RAM was being allocated to print dicts and do some other types of
iterating.  Now these iterations use 1 word of state on the stack.

Deleting elements from a dict was not allowing the value to be reclaimed
by the GC.  This is now fixed.
</content>
</entry>
<entry>
<title>py: Make map, dict, set use mp_int_t/mp_uint_t exclusively.</title>
<updated>2014-08-30T12:23:35+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-30T12:23:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=93965e726fb307739c31b0fc61d972391ffba677'/>
<id>urn:sha1:93965e726fb307739c31b0fc61d972391ffba677</id>
<content type='text'>
Part of code cleanup, towards resolving issue #50.
</content>
</entry>
<entry>
<title>Change some parts of the core API to use mp_uint_t instead of uint/int.</title>
<updated>2014-08-29T23:35:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-29T23:35:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ecc88e949ca5e307d22da4605a40d39ea2df9e3b'/>
<id>urn:sha1:ecc88e949ca5e307d22da4605a40d39ea2df9e3b</id>
<content type='text'>
Addressing issue #50, still some way to go yet.
</content>
</entry>
<entry>
<title>py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself.</title>
<updated>2014-07-31T09:49:14+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-31T09:49:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bb4c6f35c627ab3487cdd6bafb4588cc633cd6a4'/>
<id>urn:sha1:bb4c6f35c627ab3487cdd6bafb4588cc633cd6a4</id>
<content type='text'>
Addresses issue #724.
</content>
</entry>
<entry>
<title>Rename machine_(u)int_t to mp_(u)int_t.</title>
<updated>2014-07-03T12:25:24+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-03T12:25:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=40f3c026823f8951a2fa04e9c7fc93c75bc27bec'/>
<id>urn:sha1:40f3c026823f8951a2fa04e9c7fc93c75bc27bec</id>
<content type='text'>
See discussion in issue #50.
</content>
</entry>
<entry>
<title>objstr: Implement "%(key)s" % {} formatting for strings and dicts.</title>
<updated>2014-06-05T17:06:15+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-05T17:02:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=75ce9256b2c70bceee6ced26ac7c7bcbd1f1d7f4'/>
<id>urn:sha1:75ce9256b2c70bceee6ced26ac7c7bcbd1f1d7f4</id>
<content type='text'>
Also, make sure that args to "*" format specifiers are bounds-checked
properly and don't lead for segfaults in case of mismatch.
</content>
</entry>
<entry>
<title>py: Implement full behaviour of dict.update(), and dict().</title>
<updated>2014-06-03T11:53:44+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-06-03T11:53:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bcb6ca4d5e926d9571d150fb045c5ac4b53f8ecd'/>
<id>urn:sha1:bcb6ca4d5e926d9571d150fb045c5ac4b53f8ecd</id>
<content type='text'>
Add keyword args to dict.update(), and ability to take a dictionary as
argument.

dict() class constructor can now use dict.update() directly.

This patch loses fast path for dict(other_dict), but is that really
needed?  Any anyway, this idiom will now re-hash the dictionary, so is
arguably more memory efficient.

Addresses issue #647.
</content>
</entry>
<entry>
<title>py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL.</title>
<updated>2014-05-21T18:42:43+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-21T18:42:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6ac5dced2441bf63dbc65acbd7e33fb71d1d3ede'/>
<id>urn:sha1:6ac5dced2441bf63dbc65acbd7e33fb71d1d3ede</id>
<content type='text'>
See issue #608 for justification.
</content>
</entry>
<entry>
<title>py: Tidy up returning NULL which should be MP_OBJ_NOT_SUPPORTED.</title>
<updated>2014-05-10T12:55:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-10T12:55:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d0a5bf34f746276550aef9c8519160c033611571'/>
<id>urn:sha1:d0a5bf34f746276550aef9c8519160c033611571</id>
<content type='text'>
</content>
</entry>
</feed>
