<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/objexcept.c, branch 6.0.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2020-08-19T21:23:28+00:00</updated>
<entry>
<title>Add basic error handling</title>
<updated>2020-08-19T21:23:28+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-08-19T00:06:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=eb8b42aff1e887125dda56bafd2b52312c1c7e05'/>
<id>urn:sha1:eb8b42aff1e887125dda56bafd2b52312c1c7e05</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add license to some obvious files.</title>
<updated>2020-07-06T18:16:25+00:00</updated>
<author>
<name>Diego Elio Pettenò</name>
<email>flameeyes@flameeyes.com</email>
</author>
<published>2020-06-03T22:40:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=34b4993d63a6b576f29d624385c681f679b4124c'/>
<id>urn:sha1:34b4993d63a6b576f29d624385c681f679b4124c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>string compression: save a few bits per string</title>
<updated>2020-05-28T13:36:08+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-05-28T12:40:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fe3e8d1589e54de999cccc775f269a39443c82d6'/>
<id>urn:sha1:fe3e8d1589e54de999cccc775f269a39443c82d6</id>
<content type='text'>
Length was stored as a 16-bit number always.  Most translations have
a max length far less.  For example, US English translation lengths
always fit in just 8 bits.  probably all languages fit in 9 bits.

This also has the side effect of reducing the alignment of
compressed_string_t from 2 bytes to 1.

testing performed: ran in german and english on pyruler, printed messages
looked right.

Firmware size, en_US
Before: 3044 bytes free in flash
After: 3408 bytes free in flash

Firmware size, de_DE (with #2967 merged to restore translations)
Before: 1236 bytes free in flash
After: 1600 bytes free in flash
</content>
</entry>
<entry>
<title>fix printing single-arg exceptions</title>
<updated>2020-02-04T21:55:56+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2020-02-04T21:55:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e13642351c2827e62a614d569138de8971ebd7c8'/>
<id>urn:sha1:e13642351c2827e62a614d569138de8971ebd7c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix multi-arg exception printing</title>
<updated>2020-02-04T21:41:25+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2020-02-04T21:41:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7fe959ab39e14b000934b15d7cce13aae9f6a525'/>
<id>urn:sha1:7fe959ab39e14b000934b15d7cce13aae9f6a525</id>
<content type='text'>
</content>
</entry>
<entry>
<title>preserve errno in OSError</title>
<updated>2020-02-04T21:19:40+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2020-02-04T21:19:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5164719e67878418cff51d26f40e4813da02bc83'/>
<id>urn:sha1:5164719e67878418cff51d26f40e4813da02bc83</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make MpyError a ValueError (since that's what it was before)</title>
<updated>2019-05-08T20:58:31+00:00</updated>
<author>
<name>Terri Oda</name>
<email>terri@toybox.ca</email>
</author>
<published>2019-05-08T20:58:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8d9c2f3e9dcad5527078c6150d60a83a31c57bb1'/>
<id>urn:sha1:8d9c2f3e9dcad5527078c6150d60a83a31c57bb1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make status light flash blue for incompatible mpy (fixes #1369)</title>
<updated>2019-05-08T18:54:08+00:00</updated>
<author>
<name>Terri Oda</name>
<email>terri@toybox.ca</email>
</author>
<published>2019-05-08T18:54:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a9b05d37d70ac38fea2cdceffc28ce354f204200'/>
<id>urn:sha1:a9b05d37d70ac38fea2cdceffc28ce354f204200</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py changes for supporting superclass constructors that take kwargs</title>
<updated>2019-01-15T01:29:19+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2019-01-14T23:14:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=72d993d60c5e5238942491df00776ca31f9758a1'/>
<id>urn:sha1:72d993d60c5e5238942491df00776ca31f9758a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support OSError attributes</title>
<updated>2018-11-13T21:04:44+00:00</updated>
<author>
<name>Noralf Trønnes</name>
<email>noralf@tronnes.org</email>
</author>
<published>2018-11-12T15:16:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c5aa2e93001436f6d63e3e9b7dff3c535397db1c'/>
<id>urn:sha1:c5aa2e93001436f6d63e3e9b7dff3c535397db1c</id>
<content type='text'>
This adds support for the OSError attributes : errno, strerror, filename and filename2.
CPython only sets errno if 2 arguments has been passed in. This has not been implemented here.

CPython OSError.args is capped at 2 items for backward compatibility reasons. This has not been
implemented here.

MICROPY_CPYTHON_COMPAT has to be enabled to get these attributes.

mp_common_errno_to_str() has been extended to check mp_errno_to_str() as well. This is done to ease
reuse for the strerror argument.
</content>
</entry>
</feed>
