This website requires JavaScript.
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
mirror
/
micropython
kopia lustrzana
https://github.com/micropython/micropython
Obserwuj
1
Polub
0
Forkuj
You've already forked micropython
0
Kod
Zgłoszenia
Projekty
Wydania
Wiki
Aktywność
master
micropython
/
tests
/
micropython
/
heapalloc.py.exp
16 wiersze
90 B
Plaintext
Czysty
Bezpośredni odnośnik
Zwykły widok
Historia
Unescape
Escape
tests: Add heapalloc.py.exp, since CPython can't generate it.
2014-10-31 22:09:40 +00: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 13:34:37 +00: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 21:07:27 +00: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 13:34:37 +00:00
1
two
(True, b'bytes', ())