Logo
Explore Help
Register Sign In
fengqi/lv_micropython
1
0
Fork 0
You've already forked lv_micropython
Code Issues Pull Requests 1 Actions Packages Projects Releases Wiki Activity
lv_micropython/tests/micropython/heapalloc.py.exp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
90 B
Plaintext
Raw Normal View History

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 23:34:37 +10: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 22:07:27 +01: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 23:34:37 +10:00
1
two
(True, b'bytes', ())
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 187ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API