<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/micropython/heapalloc.py, branch 6.1.0-beta.2</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.1.0-beta.2</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.1.0-beta.2'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-12-11T10:04:59+00:00</updated>
<entry>
<title>tests/heapalloc, heapalloc_super: Skip in strict stackless mode.</title>
<updated>2017-12-11T10:04:59+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-12-11T09:58:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=016f83053669ee56561bebd8e9b65dac77b670ac'/>
<id>urn:sha1:016f83053669ee56561bebd8e9b65dac77b670ac</id>
<content type='text'>
These tests involves testing allocation-free function calling, and in strict
stackless mode, it's not possible to make a function call with heap locked
(because function activation record aka frame is allocated on the heap).
</content>
</entry>
<entry>
<title>tests/micropython: Move alloc-less traceback test to separate test file.</title>
<updated>2016-11-21T06:39:23+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-11-21T06:39:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1f43d49f9efa22d81e10be7bd20933986b4a3320'/>
<id>urn:sha1:1f43d49f9efa22d81e10be7bd20933986b4a3320</id>
<content type='text'>
The native emitter doesn't provide proper traceback info so this test
should not be run in that case.
</content>
</entry>
<entry>
<title>tests/micropython: Add test for creating traceback without allocation.</title>
<updated>2016-11-21T06:10:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-11-21T06:10:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d70f87aaa2fe31b099359b4b27444f3b289cdb8c'/>
<id>urn:sha1:d70f87aaa2fe31b099359b4b27444f3b289cdb8c</id>
<content type='text'>
</content>
</entry>
<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>py: Fallback to stack alloca for Python-stack if heap alloc fails.</title>
<updated>2015-06-08T21:07:27+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-06-08T21:07:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6e56bb623c66007cd3fe6e0a48c3af9f1e0814fc'/>
<id>urn:sha1:6e56bb623c66007cd3fe6e0a48c3af9f1e0814fc</id>
<content type='text'>
If heap allocation for the Python-stack of a function fails then we may
as well allocate the Python-stack on the C stack.  This will allow to
run more code without using the heap.
</content>
</entry>
<entry>
<title>py: Make gc.enable/disable just control auto-GC; alloc is still allowed.</title>
<updated>2014-10-31T21:30:46+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-31T21:30:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=109c1de015eeee385020233e2f8cc6f921149103'/>
<id>urn:sha1:109c1de015eeee385020233e2f8cc6f921149103</id>
<content type='text'>
gc.enable/disable are now the same as CPython: they just control whether
automatic garbage collection is enabled or not.  If disabled, you can
still allocate heap memory, and initiate a manual collection.
</content>
</entry>
<entry>
<title>tests: Add feature test for when heap allocation is disabled.</title>
<updated>2014-05-31T17:33:16+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-31T17:33:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4d659f566f094a42057023dcc82a3ca8810c5ba6'/>
<id>urn:sha1:4d659f566f094a42057023dcc82a3ca8810c5ba6</id>
<content type='text'>
</content>
</entry>
</feed>
