<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/micropython/const_error.py, branch 4.0.0-rc.2</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.2</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=4.0.0-rc.2'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-09-27T03:34:21+00:00</updated>
<entry>
<title>py/modmicropython: Add micropython.const, alias for identity function.</title>
<updated>2016-09-27T03:34:21+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-27T03:34:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=791b65f4b261a23e427664f0b86ce32b60e33cb5'/>
<id>urn:sha1:791b65f4b261a23e427664f0b86ce32b60e33cb5</id>
<content type='text'>
Having a micropython.const identity function, and writing "from micropython
import const" at the start of scripts that use the const feature, allows to
write scripts which are compatible with CPython, and with uPy builds that
don't include const optimisation.

This patch adds such a function and updates the tests to do the import.
</content>
</entry>
<entry>
<title>tests: Add tests for SyntaxError, TypeError, and other missing things.</title>
<updated>2015-03-25T23:10:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-25T23:10:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=214179b430ebc1101e28b19248b6166f5e511e6b'/>
<id>urn:sha1:214179b430ebc1101e28b19248b6166f5e511e6b</id>
<content type='text'>
This is intended to improve coverage of the test suite.
</content>
</entry>
<entry>
<title>tests: Add test for micropython const feature when it has a SyntaxError.</title>
<updated>2015-03-01T12:06:24+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-01T12:06:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=47538cc880e3699fcef3f8a9ff4c8c76fa455795'/>
<id>urn:sha1:47538cc880e3699fcef3f8a9ff4c8c76fa455795</id>
<content type='text'>
</content>
</entry>
</feed>
