<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/objtype.c, branch v1.3.8</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.8</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.8'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-12-28T19:43:44+00:00</updated>
<entry>
<title>showbc: Print operation mnemonic in BINARY_OP.</title>
<updated>2014-12-28T19:43:44+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-12-28T19:41:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1ee1785bed2dc899d92c15047face797f859f1c9'/>
<id>urn:sha1:1ee1785bed2dc899d92c15047face797f859f1c9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Use shorter, static error msgs when ERROR_REPORTING_TERSE enabled.</title>
<updated>2014-11-06T17:36:16+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-11-06T17:36:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1e9a92f84fb58db610e20b766052292edc28d25b'/>
<id>urn:sha1:1e9a92f84fb58db610e20b766052292edc28d25b</id>
<content type='text'>
Going from MICROPY_ERROR_REPORTING_NORMAL to
MICROPY_ERROR_REPORTING_TERSE now saves 2020 bytes ROM for ARM Thumb2,
and 2200 bytes ROM for 32-bit x86.

This is about a 2.5% code size reduction for bare-arm.
</content>
</entry>
<entry>
<title>py: Fix some macros defines; cleanup some includes.</title>
<updated>2014-11-05T21:16:41+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-11-05T21:16:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7860c2a68acd1ccd28cb4bb87819487fd6966a9e'/>
<id>urn:sha1:7860c2a68acd1ccd28cb4bb87819487fd6966a9e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Explicitly set uninitialised struct member to false.</title>
<updated>2014-11-03T16:18:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-11-03T16:18:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ff319dffad6a0229f8c0cea3a54f73eec8d48e9e'/>
<id>urn:sha1:ff319dffad6a0229f8c0cea3a54f73eec8d48e9e</id>
<content type='text'>
Uninitialised struct members get a default value of 0/false, so this is
not strictly needed.  But it actually decreases code size because when
all members are initialised the compiler doesn't need to insert a call
to memset to clear everything.  In other words, setting 1 extra member
to 0 uses less code than calling memset.

ROM savings in bytes: 32-bit unix: 100; bare-arm: 44; stmhal: 52.
</content>
</entry>
<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: Use MP_OBJ_NULL instead of NULL in a few places.</title>
<updated>2014-10-23T11:06:53+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-23T11:06:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3aa09f5784bf06f2b23b0d0082cd244af53ca8a9'/>
<id>urn:sha1:3aa09f5784bf06f2b23b0d0082cd244af53ca8a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Make tuple and list use mp_int_t/mp_uint_t.</title>
<updated>2014-08-30T13:04:14+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-30T13:04:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9c4cbe2ac0ae4c51270f21ba9c974dd24f6b9d55'/>
<id>urn:sha1:9c4cbe2ac0ae4c51270f21ba9c974dd24f6b9d55</id>
<content type='text'>
Part of code cleanup, to resolve 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: Add dispatch for user defined ==, &gt;, &lt;=, &gt;=.</title>
<updated>2014-08-26T08:31:26+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-26T08:31:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=779794a68085eda5176694437523d43b953a8651'/>
<id>urn:sha1:779794a68085eda5176694437523d43b953a8651</id>
<content type='text'>
Addresses issue #827.
</content>
</entry>
<entry>
<title>py: Fix bug where GC collected native/viper/asm function data.</title>
<updated>2014-08-24T15:28:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-24T15:28:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3c658a4e755a75e495303957208486e583ddb270'/>
<id>urn:sha1:3c658a4e755a75e495303957208486e583ddb270</id>
<content type='text'>
Because (for Thumb) a function pointer has the LSB set, pointers to
dynamic functions in RAM (eg native, viper or asm functions) were not
being traced by the GC.  This patch is a comprehensive fix for this.

Addresses issue #820.
</content>
</entry>
</feed>
