<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/runtime.h, branch v1.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-06-07T20:26:27+00:00</updated>
<entry>
<title>py: Add generic mp_not_implemented() func to use instead of assert().</title>
<updated>2014-06-07T20:26:27+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-07T20:22:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7e4a2b0edca2953ae3dd19f9ad554739a9174c81'/>
<id>urn:sha1:7e4a2b0edca2953ae3dd19f9ad554739a9174c81</id>
<content type='text'>
Benefits: won't crash baremetal targets, will provide Python source location
when not implemented feature used (it will no longer provide C source
location, but just grep for error message).
</content>
</entry>
<entry>
<title>py: Instead of having "debug on" var, have "optimization level" var.</title>
<updated>2014-06-03T09:32:59+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-02T16:37:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d3439d0c6065bc60a9c4c915f4a1a3ffa796cf33'/>
<id>urn:sha1:d3439d0c6065bc60a9c4c915f4a1a3ffa796cf33</id>
<content type='text'>
This allows to have multiple "optimization" levels (CPython has two
(-OO removes docstrings), we can have more).
</content>
</entry>
<entry>
<title>py: Implement long int parsing in int(...).</title>
<updated>2014-05-28T13:07:21+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-28T13:07:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=503d6110338ab2d79e6c0f8f591a0ca6397717de'/>
<id>urn:sha1:503d6110338ab2d79e6c0f8f591a0ca6397717de</id>
<content type='text'>
Addresses issue #627.
</content>
</entry>
<entry>
<title>py: Add support for __debug__ constant.</title>
<updated>2014-05-12T22:07:34+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-12T22:07:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=97f9a2813e5909f0025a2e5e746fff2187f29171'/>
<id>urn:sha1:97f9a2813e5909f0025a2e5e746fff2187f29171</id>
<content type='text'>
__debug__ now resolves to True or False.  Its value needs to be set by
mp_set_debug().

TODO: call mp_set_debug in unix/ port.

TODO: optimise away "if False:" statements in compiler.
</content>
</entry>
<entry>
<title>Merge branch 'master' of https://github.com/micropython/micropython</title>
<updated>2014-05-06T16:52:35+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-06T16:52:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c53b408f28942bfc5b64fee86ac89a339dc06e3f'/>
<id>urn:sha1:c53b408f28942bfc5b64fee86ac89a339dc06e3f</id>
<content type='text'>
Conflicts:
	py/argcheck.c
	py/objenumerate.c
	py/runtime.h
</content>
</entry>
<entry>
<title>py: Add keyword arg support to enumerate constructor.</title>
<updated>2014-05-06T16:38:54+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-06T16:38:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=491cbd6a7cd0a212e28c548789db432b4e64327e'/>
<id>urn:sha1:491cbd6a7cd0a212e28c548789db432b4e64327e</id>
<content type='text'>
Need to have a policy as to how far we go adding keyword support to
built ins.  It's nice to have, and gets better CPython compatibility,
but hurts the micro nature of uPy.

Addresses issue #577.
</content>
</entry>
<entry>
<title>py: enumerate(): Add NotImplementedError for kwargs.</title>
<updated>2014-05-06T16:31:49+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-05-06T16:25:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=47d3bd3b3189f44d9979e9ce1555e73629a3bbc7'/>
<id>urn:sha1:47d3bd3b3189f44d9979e9ce1555e73629a3bbc7</id>
<content type='text'>
Addresses #577.
</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>Simplify names for argcheck.c / arg parsing.</title>
<updated>2014-04-26T10:19:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-26T10:19:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=dbc81df5d4822b3a0fc31ea1c5684b0101e193dd'/>
<id>urn:sha1:dbc81df5d4822b3a0fc31ea1c5684b0101e193dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Add arg checking helper functions.</title>
<updated>2014-04-19T23:13:22+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-19T23:13:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a3f94e0030dc209f4d180531878cede7a1e2dbbe'/>
<id>urn:sha1:a3f94e0030dc209f4d180531878cede7a1e2dbbe</id>
<content type='text'>
These are to assist in writing native C functions that take positional
and keyword arguments.  mp_arg_check_num is for just checking the
number of arguments is correct.  mp_arg_parse_all is for parsing
positional and keyword arguments with default values.
</content>
</entry>
</feed>
