Re: test/parser.py fails on my port: any clue how to debug this?
Posted: Thu Mar 26, 2020 6:49 pm
When "compile" raises SyntaxError it corrupts the memory.
Please see the new forum at
https://forum.micropython.org/
Code: Select all
MicroPython v1.11-744-g4679075199-dirty on 2020-05-16; A9/A9G module with RDA8955
Type "help()" for more information.
>>> globals()
mp_globals_get: result 0x82300fe8
mp_globals_get: result 0x82300fe8
mp_globals_get: result 0p82300fe8
mp_globals_get: result 0p82300fe8
mp_globals_get: result 0p82300fe8
mp_globals_get: result 0p82300fe8
mp_globals_get: result 0p82300fe8
{'__name__': '__main__', 'os': <module 'uos'>}
>>> compile("", "stdin", "eval")
mp_globals_get: result 0x82300fe8
mp_globals_get: result 0x82300fe8
mp_globals_get: result 0p82300fe8
mp_globals_get: result 0p82300fe8
mp_globals_get: result 0p82300fe8
mp_globals_get: result 0p82300fe8
mp_globals_get: result 0p82300fe8
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "stdin", line 2
SyntaxError: invalid syntax
>>> globals()
mp_globals_get: result 0x82300fe8
mp_globals_get: result 0x82300fe8
mp_globals_get: result 0p82300fe8
(halt)