<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/builtinimport.c, branch v1.8.5</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.5</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.5'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-10-17T01:17:37+00:00</updated>
<entry>
<title>py: Use mp_raise_msg helper function where appropriate.</title>
<updated>2016-10-17T01:17:37+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-17T01:17:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7d0d7215d2575a2d36d34c9a13b58cade0610a28'/>
<id>urn:sha1:7d0d7215d2575a2d36d34c9a13b58cade0610a28</id>
<content type='text'>
Saves the following number of bytes of code space: 176 for bare-arm, 352
for minimal, 272 for unix x86-64, 140 for stmhal, 120 for esp8266.
</content>
</entry>
<entry>
<title>py/builtinimport: Fix nanbox build after change to better handle -m modules.</title>
<updated>2016-09-20T14:55:42+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-09-20T14:55:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7ea3fa2641d6f3ea5a3ff2454dbfa89540e43f0b'/>
<id>urn:sha1:7ea3fa2641d6f3ea5a3ff2454dbfa89540e43f0b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>builtinimport: add the module specified by -m to sys.modules as '__main__'</title>
<updated>2016-09-20T11:01:31+00:00</updated>
<author>
<name>Delio Brignoli</name>
<email>brignoli.delio@gmail.com</email>
</author>
<published>2016-08-22T10:28:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=21c719bd0a0acf709de4d6dfe0d830aa60427e3f'/>
<id>urn:sha1:21c719bd0a0acf709de4d6dfe0d830aa60427e3f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/builtinimport: Disable "imported as namespace package" warning.</title>
<updated>2016-07-02T11:45:49+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-02T11:45:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ae184cb9de9ec9a61bbb56d316ecf9f1b9543a4b'/>
<id>urn:sha1:ae184cb9de9ec9a61bbb56d316ecf9f1b9543a4b</id>
<content type='text'>
Namespace packages are natural part of Python3, CPython3 doesn't have such
warning, it made sense only from point of view of Python2 legacy.
</content>
</entry>
<entry>
<title>py: Allow to stat and import frozen mpy files using new frozen "VFS".</title>
<updated>2016-05-23T11:42:23+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-23T11:42:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=274952a1174efe27fa90dd793587837584712358'/>
<id>urn:sha1:274952a1174efe27fa90dd793587837584712358</id>
<content type='text'>
Freezing mpy files using mpy-tool.py now works again.
</content>
</entry>
<entry>
<title>py/builtinimport: Unbreak bare-arm build.</title>
<updated>2016-05-21T19:37:58+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-21T19:37:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2c573f00b8ce1ef67e8e754b5231e061fbd5b064'/>
<id>urn:sha1:2c573f00b8ce1ef67e8e754b5231e061fbd5b064</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/builtinimport: Unbreak minimal build.</title>
<updated>2016-05-21T19:23:08+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-21T19:23:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8a2970e13671211a66628364d40f91b97c50c791'/>
<id>urn:sha1:8a2970e13671211a66628364d40f91b97c50c791</id>
<content type='text'>
These are workarounds required until frozen .mpy loading following standard
frozen modules code path.
</content>
</entry>
<entry>
<title>py/{builtinimport,frozenmod}: Rework frozen modules support to support packages.</title>
<updated>2016-05-21T18:38:50+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-21T18:33:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fb742cdc1215c5444cbe9e10f37fecb4ffce0006'/>
<id>urn:sha1:fb742cdc1215c5444cbe9e10f37fecb4ffce0006</id>
<content type='text'>
Now frozen modules is treated just as a kind of VFS, and all operations
performed on it correspond to operations on normal filesystem. This allows
to support packages properly, and potentially also data files.

This change also have changes to rework frozen bytecode modules support to
use the same framework, but it's not finished (and actually may not work,
as older adhox handling of any type of frozen modules is removed).
</content>
</entry>
<entry>
<title>py: Add ability to have frozen persistent bytecode from .mpy files.</title>
<updated>2016-04-13T15:07:47+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-31T22:24:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0a2e9650f5383bc1190d6b27a3d923e313c3d879'/>
<id>urn:sha1:0a2e9650f5383bc1190d6b27a3d923e313c3d879</id>
<content type='text'>
The config variable MICROPY_MODULE_FROZEN is now made of two separate
parts: MICROPY_MODULE_FROZEN_STR and MICROPY_MODULE_FROZEN_MPY.  This
allows to have none, either or both of frozen strings and frozen mpy
files (aka frozen bytecode).
</content>
</entry>
<entry>
<title>py: Change type signature of builtin funs that take variable or kw args.</title>
<updated>2016-01-11T00:49:27+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-03T14:21:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4b72b3a133ea87a1ef8b964508dc25c551ccf093'/>
<id>urn:sha1:4b72b3a133ea87a1ef8b964508dc25c551ccf093</id>
<content type='text'>
With this patch the n_args parameter is changed type from mp_uint_t to
size_t.
</content>
</entry>
</feed>
