mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 12:10:13 +01:00
py: Implement compile builtin, enabled only on unix port.
This should be pretty compliant with CPython, except perhaps for some corner cases to do with globals/locals context. Addresses issue #879.
This commit is contained in:
@@ -213,6 +213,12 @@ Q(value)
|
||||
Q(write)
|
||||
Q(zip)
|
||||
|
||||
#if MICROPY_PY_BUILTINS_COMPILE
|
||||
Q(compile)
|
||||
Q(code)
|
||||
Q(single)
|
||||
#endif
|
||||
|
||||
Q(sep)
|
||||
Q(end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user