py/modsys: Implement optional sys.intern.
Signed-off-by: stijn <stijn@ignitron.net>
This commit is contained in:
@@ -1434,6 +1434,11 @@ typedef double mp_float_t;
|
||||
#define MICROPY_PY_SYS_EXECUTABLE (0)
|
||||
#endif
|
||||
|
||||
// Whether to provide "sys.intern"
|
||||
#ifndef MICROPY_PY_SYS_INTERN
|
||||
#define MICROPY_PY_SYS_INTERN (MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_EVERYTHING)
|
||||
#endif
|
||||
|
||||
// Whether to provide "sys.exit" function
|
||||
#ifndef MICROPY_PY_SYS_EXIT
|
||||
#define MICROPY_PY_SYS_EXIT (1)
|
||||
|
||||
Reference in New Issue
Block a user