This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
0
You've already forked circuitpython
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
c63908c297
circuitpython
/
tests
/
micropython
/
heapalloc.py.exp
16 lines
90 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tests: Add heapalloc.py.exp, since CPython can't generate it.
2014-10-31 18:09:40 -04:00
0
1
0
0 2
0 0
1
3
1
1 2
1 1
tests/micropython: Add tests that const tuples don't use the heap. Signed-off-by: Damien George <damien@micropython.org>
2022-04-11 09:34:37 -04:00
(1, 'two', (b'three',))
py: Fallback to stack alloca for Python-stack if heap alloc fails. 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.
2015-06-08 17:07:27 -04:00
1 2 3 4 10
tests/micropython: Add tests that const tuples don't use the heap. Signed-off-by: Damien George <damien@micropython.org>
2022-04-11 09:34:37 -04:00
1
two
(True, b'bytes', ())
Reference in New Issue
Copy Permalink