<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py, branch 4.0.0-rc.3</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=4.0.0-rc.3</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=4.0.0-rc.3'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2019-05-14T00:31:30+00:00</updated>
<entry>
<title>Check native object in case of early access</title>
<updated>2019-05-14T00:31:30+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2019-05-14T00:31:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f29de5132562cd6e88661d150fa1ee3ab8b771e1'/>
<id>urn:sha1:f29de5132562cd6e88661d150fa1ee3ab8b771e1</id>
<content type='text'>
If a native displayio object is accessed before it's super().__init__()
has been called, then a placeholder is given that will cause a crash if
accessed. This is tricky to get right so we detect this case and raise
a NotInplementedError instead of crashing.

Fixes #1881
</content>
</entry>
<entry>
<title>use approx of original @godlygeek code for smallints; add tests</title>
<updated>2019-05-12T15:17:29+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2019-05-12T15:17:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8664a6574b4cb448df26bfaa0e12eb203cc5d759'/>
<id>urn:sha1:8664a6574b4cb448df26bfaa0e12eb203cc5d759</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Handle truth values; speed up smallint checks</title>
<updated>2019-05-12T04:10:53+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2019-05-12T04:10:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d103ac1d6325a075be3fafe812858584435f3144'/>
<id>urn:sha1:d103ac1d6325a075be3fafe812858584435f3144</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reverse int to bytes buffer overflow conditionals</title>
<updated>2019-05-10T02:03:12+00:00</updated>
<author>
<name>Matt Wozniski</name>
<email>godlygeek+git@gmail.com</email>
</author>
<published>2019-05-10T02:02:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1d0c61642b6fff2251c6b65a9fc18afd0ac255d5'/>
<id>urn:sha1:1d0c61642b6fff2251c6b65a9fc18afd0ac255d5</id>
<content type='text'>
Rather than jumping to a label when an overflow is known to have
occurred, return early when one is known not to have.
</content>
</entry>
<entry>
<title>Use OverflowError exception type for overflows</title>
<updated>2019-05-09T07:22:26+00:00</updated>
<author>
<name>Matt Wozniski</name>
<email>godlygeek+git@gmail.com</email>
</author>
<published>2019-05-09T07:20:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f325bd848b183f9b111b44e2fab2a9e6a366af3c'/>
<id>urn:sha1:f325bd848b183f9b111b44e2fab2a9e6a366af3c</id>
<content type='text'>
Initially I used one of the existing exception raise functions, but it's
more correct and not much more code to raise OverflowError instead.
</content>
</entry>
<entry>
<title>Add overflow checks for int to bytes conversions</title>
<updated>2019-05-09T07:22:25+00:00</updated>
<author>
<name>Matt Wozniski</name>
<email>godlygeek+git@gmail.com</email>
</author>
<published>2019-05-09T03:50:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=095c844004bcd8680a4bf68901adbd9cac6a4302'/>
<id>urn:sha1:095c844004bcd8680a4bf68901adbd9cac6a4302</id>
<content type='text'>
For both small and long integers, raise an exception if calling
struct.pack, adding an element to an array.array, or formatting an int
with int.to_bytes would overflow the requested size.
</content>
</entry>
<entry>
<title>Merge pull request #1865 from terriko/mpy_error</title>
<updated>2019-05-09T00:22:59+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@adafruit.com</email>
</author>
<published>2019-05-09T00:22:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9ce042ad07cabbba27f4db90f9c95d0b057b9f51'/>
<id>urn:sha1:9ce042ad07cabbba27f4db90f9c95d0b057b9f51</id>
<content type='text'>
Make status light flash blue for incompatible mpy (fixes #1369)</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>Merge pull request #1859 from scottbelden/tabbing</title>
<updated>2019-05-08T18:49:11+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@adafruit.com</email>
</author>
<published>2019-05-08T18:49:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bec84f20abb716c0d8052554d841c1291ddf64cc'/>
<id>urn:sha1:bec84f20abb716c0d8052554d841c1291ddf64cc</id>
<content type='text'>
enter four spaces when there are no matches</content>
</entry>
</feed>
