<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/micropython, branch 0.8.0</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.8.0</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.8.0'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-10-13T13:32:34+00:00</updated>
<entry>
<title>tests/micropython: Add tests for heap_lock, and emergency exceptions.</title>
<updated>2016-10-13T13:32:34+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-13T13:32:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=34d0b3f85c9926d854acd7723b9e057744916ee0'/>
<id>urn:sha1:34d0b3f85c9926d854acd7723b9e057744916ee0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Improve test coverage of py/compile.c.</title>
<updated>2016-10-11T01:30:32+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-11T01:30:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5e22afce41de8c87071d8fc149a6ba3cd8762819'/>
<id>urn:sha1:5e22afce41de8c87071d8fc149a6ba3cd8762819</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/micropython: Add test for micropython.opt_level() function.</title>
<updated>2016-10-11T00:01:22+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-11T00:01:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7f0e563de3f02b26aa0ebf5dd62907d67b524a8e'/>
<id>urn:sha1:7f0e563de3f02b26aa0ebf5dd62907d67b524a8e</id>
<content type='text'>
</content>
</entry>
<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/micropython: Add tests for const names being replaced in parser.</title>
<updated>2016-09-27T03:03:53+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-27T03:03:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=38b54b65d4b504339cd16c88175c31f257a68f3a'/>
<id>urn:sha1:38b54b65d4b504339cd16c88175c31f257a68f3a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/meminfo: Update for addition of "max free sz" output.</title>
<updated>2016-06-30T21:39:26+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-06-30T21:39:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=92a9078a6fa3968fb5000b26e8ef7a0cb96acb1b'/>
<id>urn:sha1:92a9078a6fa3968fb5000b26e8ef7a0cb96acb1b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/parse: Treat constants that start with underscore as private.</title>
<updated>2016-06-06T16:28:32+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-06-06T16:28:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b1533c43669c037d04c87d1756355cdc8edd5e0a'/>
<id>urn:sha1:b1533c43669c037d04c87d1756355cdc8edd5e0a</id>
<content type='text'>
Assignments of the form "_id = const(value)" are treated as private
(following a similar CPython convention) and code is no longer emitted
for the assignment to a global variable.

See issue #2111.
</content>
</entry>
<entry>
<title>py/viper: Allow casting of Python integers to viper pointers.</title>
<updated>2016-02-09T13:29:20+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-02-09T13:29:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3e02b1d19a4b1fb36ee36b0d43144bad6b797f2f'/>
<id>urn:sha1:3e02b1d19a4b1fb36ee36b0d43144bad6b797f2f</id>
<content type='text'>
This allows you to pass a number (being an address) to a viper function
that expects a pointer, and also allows casting of integers to pointers
within viper functions.

This was actually the original behaviour, but it regressed due to native
type identifiers being promoted to 4 bits in width.
</content>
</entry>
<entry>
<title>tests: Add more tests for viper 16/32-bit load/store, and ellipsis.</title>
<updated>2015-10-13T17:24:36+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-13T17:24:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2ec835f572cdee78c6c1ffd300bd159e0e35598a'/>
<id>urn:sha1:2ec835f572cdee78c6c1ffd300bd159e0e35598a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Implement ptr32 load and store in viper emitter.</title>
<updated>2015-10-12T23:50:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-12T23:50:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b8f9ac54111ad0962401c764112c9a5669699deb'/>
<id>urn:sha1:b8f9ac54111ad0962401c764112c9a5669699deb</id>
<content type='text'>
</content>
</entry>
</feed>
