<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/mpconfig.h, 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-28T22:51:24+00:00</updated>
<entry>
<title>py: Add MP_LIKELY(), MP_UNLIKELY() macros to help branch prediction.</title>
<updated>2014-12-28T22:51:24+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-12-28T22:51:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=361909e3ca8a44632c918aeed2c3426b970068fc'/>
<id>urn:sha1:361909e3ca8a44632c918aeed2c3426b970068fc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Add execfile function (from Python 2); enable in stmhal port.</title>
<updated>2014-12-19T13:36:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-12-19T13:36:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2a3e2b903394376fcf5722904453febd7472ee25'/>
<id>urn:sha1:2a3e2b903394376fcf5722904453febd7472ee25</id>
<content type='text'>
Adds just 60 bytes to stmhal binary.  Addresses issue #362.
</content>
</entry>
<entry>
<title>py: Allow builtins to be overridden.</title>
<updated>2014-12-09T16:19:48+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-12-09T16:19:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=78d702c300ae9f175e6f47f805a37cdfe5b81898'/>
<id>urn:sha1:78d702c300ae9f175e6f47f805a37cdfe5b81898</id>
<content type='text'>
This patch adds a configuration option (MICROPY_CAN_OVERRIDE_BUILTINS)
which, when enabled, allows to override all names within the builtins
module.  A builtins override dict is created the first time the user
assigns to a name in the builtins model, and then that dict is searched
first on subsequent lookups.  Note that this implementation doesn't
allow deleting of names.

This patch also does some refactoring of builtins code, creating the
modbuiltins.c file.

Addresses issue #959.
</content>
</entry>
<entry>
<title>modubinascii: Add, with hexlify() implementation.</title>
<updated>2014-11-29T13:52:47+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-11-29T04:19:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bfdc205934d86d4c419f237bb79d1dd6ccb93406'/>
<id>urn:sha1:bfdc205934d86d4c419f237bb79d1dd6ccb93406</id>
<content type='text'>
</content>
</entry>
<entry>
<title>moduhashlib: Initial module skeleton.</title>
<updated>2014-11-22T12:47:46+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-11-21T23:19:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f4b19c873f2b026aa3d0d5c880d0605c9a40f38f'/>
<id>urn:sha1:f4b19c873f2b026aa3d0d5c880d0605c9a40f38f</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>unix: fast: Set initial module dict size big to have high pystone score.</title>
<updated>2014-11-04T22:30:21+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-11-04T22:27:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=346aacf27f9bdfe8416efc30e2611f53dfc0cf5c'/>
<id>urn:sha1:346aacf27f9bdfe8416efc30e2611f53dfc0cf5c</id>
<content type='text'>
For this, introduce MICROPY_MODULE_DICT_SIZE config setting.
</content>
</entry>
<entry>
<title>py: Allow to override port config file and thus have &gt;1 configs per port.</title>
<updated>2014-10-29T23:37:45+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-10-29T02:08:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b1422de12f0f0556c845ab029c5077d9a69a8314'/>
<id>urn:sha1:b1422de12f0f0556c845ab029c5077d9a69a8314</id>
<content type='text'>
Use it like:

make CFLAGS_EXTRA='-DMP_CONFIGFILE="&lt;mpconfigport_my.h&gt;"'
</content>
</entry>
<entry>
<title>py: Implement compile builtin, enabled only on unix port.</title>
<updated>2014-10-25T21:07:25+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-25T20:59:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c9fc62072330421dbbcfa316569b51601a7f0349'/>
<id>urn:sha1:c9fc62072330421dbbcfa316569b51601a7f0349</id>
<content type='text'>
This should be pretty compliant with CPython, except perhaps for some
corner cases to do with globals/locals context.

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