diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-10-25 21:59:14 +0100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-10-25 22:07:25 +0100 |
| commit | c9fc62072330421dbbcfa316569b51601a7f0349 (patch) | |
| tree | d7044bdc0e84396822fea1e24f4220d8917ca847 /unix | |
| parent | e5a3759ff5478392f914ba7a7346da60d9735bf4 (diff) | |
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.
Diffstat (limited to 'unix')
| -rw-r--r-- | unix/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index a1e03be11..7844cc937 100644 --- a/unix/mpconfigport.h +++ b/unix/mpconfigport.h @@ -47,6 +47,7 @@ #define MICROPY_PY_BUILTINS_STR_UNICODE (1) #define MICROPY_PY_BUILTINS_MEMORYVIEW (1) #define MICROPY_PY_BUILTINS_FROZENSET (1) +#define MICROPY_PY_BUILTINS_COMPILE (1) #define MICROPY_PY_SYS_EXIT (1) #define MICROPY_PY_SYS_PLATFORM "linux" #define MICROPY_PY_SYS_MAXSIZE (1) |
