<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/objbool.c, branch v1.0.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.0.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.0.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-05-11T17:37:21+00:00</updated>
<entry>
<title>py: Use mp_arg_check_num in more places.</title>
<updated>2014-05-11T17:37:21+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-11T17:37:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ee7a880d6e669423309c3a5f8c20b59027604572'/>
<id>urn:sha1:ee7a880d6e669423309c3a5f8c20b59027604572</id>
<content type='text'>
Updated functions now do proper checking that n_kw==0, and are simpler
because they don't have to explicitly raise an exception.  Down side is
that the error messages no longer include the function name, but that's
acceptable.

Saves order 300 text bytes on x64 and ARM.
</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: Add MP_OBJ_STOP_ITERATION and make good use of it.</title>
<updated>2014-04-17T22:19:36+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-17T22:19:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ea8d06c39d9c94036e490b300d46f367c9eb78d9'/>
<id>urn:sha1:ea8d06c39d9c94036e490b300d46f367c9eb78d9</id>
<content type='text'>
Also make consistent use of MP_OBJ_NOT_SUPPORTED and MP_OBJ_NULL.
This helps a lot in debugging and understanding of function API.
</content>
</entry>
<entry>
<title>py: Change nlr_jump to nlr_raise, to aid in debugging.</title>
<updated>2014-04-05T17:32:08+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-05T17:32:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ea13f407a392593e7746131952a57bad222ee882'/>
<id>urn:sha1:ea13f407a392593e7746131952a57bad222ee882</id>
<content type='text'>
This does not affect code size or performance when debugging turned off.

To address issue #420.
</content>
</entry>
<entry>
<title>py: Make False and True act like 0 and 1 for integer arithmetic.</title>
<updated>2014-04-04T14:08:23+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-04T14:08:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e8208a7f0246e584b09455e82cc7f27cf7f0fe95'/>
<id>urn:sha1:e8208a7f0246e584b09455e82cc7f27cf7f0fe95</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename rt_* to mp_*.</title>
<updated>2014-03-30T12:35:08+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-30T12:35:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d17926db710189db97a49e9b2e72d782fc404231'/>
<id>urn:sha1:d17926db710189db97a49e9b2e72d782fc404231</id>
<content type='text'>
Mostly just a global search and replace.  Except rt_is_true which
becomes mp_obj_is_true.

Still would like to tidy up some of the names, but this will do for now.
</content>
</entry>
<entry>
<title>py: Change mp_const_* objects to macros.</title>
<updated>2014-03-29T13:15:08+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-29T13:15:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=07ddab529cb0953c473d30795e4dc3c6dfff0d89'/>
<id>urn:sha1:07ddab529cb0953c473d30795e4dc3c6dfff0d89</id>
<content type='text'>
Addresses issue #388.
</content>
</entry>
<entry>
<title>py: Clean up includes.</title>
<updated>2014-03-17T09:43:40+00:00</updated>
<author>
<name>xbe</name>
<email>xbe@machine</email>
</author>
<published>2014-03-16T07:14:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=efe34223945a5d27a7ae9445d0793d6330cd2411'/>
<id>urn:sha1:efe34223945a5d27a7ae9445d0793d6330cd2411</id>
<content type='text'>
Remove unnecessary includes. Add includes that improve portability.
</content>
</entry>
<entry>
<title>Implement proper exception type hierarchy.</title>
<updated>2014-02-15T16:10:44+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-02-15T16:10:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c5966128c7c8a768f6726f299d85d5daef6bed48'/>
<id>urn:sha1:c5966128c7c8a768f6726f299d85d5daef6bed48</id>
<content type='text'>
Each built-in exception is now a type, with base type BaseException.
C exceptions are created by passing a pointer to the exception type to
make an instance of.  When raising an exception from the VM, an
instance is created automatically if an exception type is raised (as
opposed to an exception instance).

Exception matching (RT_BINARY_OP_EXCEPTION_MATCH) is now proper.

Handling of parse error changed to match new exceptions.

mp_const_type renamed to mp_type_type for consistency.
</content>
</entry>
</feed>
