From c9fc62072330421dbbcfa316569b51601a7f0349 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 25 Oct 2014 21:59:14 +0100 Subject: 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. --- unix/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) (limited to 'unix') 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) -- cgit v1.2.3