<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/objmodule.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-09T16:19:48+00:00</updated>
<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>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: Print imported module's location (__file__) if available.</title>
<updated>2014-09-08T09:45:23+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-08T09:45:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=377b80b62450bde6fc0c06f50254f3c751127247'/>
<id>urn:sha1:377b80b62450bde6fc0c06f50254f3c751127247</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add license header to (almost) all files.</title>
<updated>2014-05-03T22:27:38+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-03T22:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=04b9147e150d2d6fa3750f312fe328b6a71c1b28'/>
<id>urn:sha1:04b9147e150d2d6fa3750f312fe328b6a71c1b28</id>
<content type='text'>
Blanket wide to all .c and .h files.  Some files originating from ST are
difficult to deal with (license wise) so it was left out of those.

Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
</content>
</entry>
<entry>
<title>py, unix: Make "mpconfig.h" be first included, as other headers depend on it.</title>
<updated>2014-05-02T14:48:40+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-05-02T14:47:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f54bcbf0997211a3d2a04bab09c79f602fa0c8e9'/>
<id>urn:sha1:f54bcbf0997211a3d2a04bab09c79f602fa0c8e9</id>
<content type='text'>
Specifically, nlr.h does.
</content>
</entry>
<entry>
<title>py: Finish implementation of all del opcodes.</title>
<updated>2014-04-08T20:11:49+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-08T20:11:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1d24ea5207ba4b62b20dbba22ab2800496418463'/>
<id>urn:sha1:1d24ea5207ba4b62b20dbba22ab2800496418463</id>
<content type='text'>
At this point, all opcodes are now implemented!

Some del opcodes have been combined with store opcodes, with the value
to store being MP_OBJ_NULL.
</content>
</entry>
<entry>
<title>py: Make globals and locals proper dictionary objects.</title>
<updated>2014-04-05T21:36:42+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-05T21:36:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7efc5b3f346869cd4177760e6a6b2bb863b425da'/>
<id>urn:sha1:7efc5b3f346869cd4177760e6a6b2bb863b425da</id>
<content type='text'>
Finishes addressing issue #424.

In the end this was a very neat refactor that now makes things a lot
more consistent across the py code base.  It allowed some
simplifications in certain places, now that everything is a dict object.

Also converted builtins tables to dictionaries.  This will be useful
when we need to turn builtins into a proper module.
</content>
</entry>
<entry>
<title>py: Change module globals from mp_map_t* to mp_obj_dict_t*.</title>
<updated>2014-04-05T20:53:54+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-05T20:53:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8b0535e23fb1c646103a060a4ae17e9ee6d5e887'/>
<id>urn:sha1:8b0535e23fb1c646103a060a4ae17e9ee6d5e887</id>
<content type='text'>
Towards addressing issue #424.

Had a small increase to ROM usage (order 60 bytes).
</content>
</entry>
<entry>
<title>Merge map.h into obj.h.</title>
<updated>2014-03-30T12:54:02+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-30T12:54:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=df6567e6345c763182fa237a4497ab94ee6ffc20'/>
<id>urn:sha1:df6567e6345c763182fa237a4497ab94ee6ffc20</id>
<content type='text'>
Pretty much everyone needs to include map.h, since it's such an integral
part of the Micro Python object implementation.  Thus, the definitions
are now in obj.h instead.  map.h is removed.
</content>
</entry>
<entry>
<title>Proper support for registering builtin modules in ROM.</title>
<updated>2014-03-25T14:18:18+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-25T14:18:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=caac542b235003f7b79d7aa23eaebe8f2c772508'/>
<id>urn:sha1:caac542b235003f7b79d7aa23eaebe8f2c772508</id>
<content type='text'>
Comes with some refactoring of code and renaming of files.  All modules
are now named mod*.[ch].
</content>
</entry>
</feed>
