8000 stm32/mpconfigport.h: Enable DELATTR_SETATTR and BUILTINS_NOTIMPLEMENTED · adafruit/circuitpython@190c7db · GitHub
[go: up one dir, main page]

Skip to content

Commit 190c7db

Browse files
committed
stm32/mpconfigport.h: Enable DELATTR_SETATTR and BUILTINS_NOTIMPLEMENTED
MICROPY_PY_DELATTR_SETATTR can now be enabled without a performance hit for classes that don't use this feature. MICROPY_PY_BUILTINS_NOTIMPLEMENTED is a minor addition that improves compatibility with CPython.
1 parent 93150a0 commit 190c7db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ports/stm32/mpconfigport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
// control over Python builtins
8484
#define MICROPY_PY_FUNCTION_ATTRS (1)
8585
#define MICROPY_PY_DESCRIPTORS (1)
86+
#define MICROPY_PY_DELATTR_SETATTR (1)
8687
#define MICROPY_PY_BUILTINS_STR_UNICODE (1)
8788
#define MICROPY_PY_BUILTINS_STR_CENTER (1)
8889
#define MICROPY_PY_BUILTINS_STR_PARTITION (1)
@@ -94,6 +95,7 @@
9495
#define MICROPY_PY_ALL_SPECIAL_METHODS (1)
9596
#define MICROPY_PY_BUILTINS_COMPILE (1)
9697
#define MICROPY_PY_BUILTINS_EXECFILE (1)
98+
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (1)
9799
#define MICROPY_PY_BUILTINS_INPUT (1)
98100
#define MICROPY_PY_BUILTINS_POW3 (1)
99101
#define MICROPY_PY_BUILTINS_HELP (1)

0 commit comments

Comments
 (0)
0