From 28fa84b4454ef253dfba5f1ceb023be2184a7271 Mon Sep 17 00:00:00 2001 From: stijn Date: Sat, 14 Feb 2015 18:43:54 +0100 Subject: py: Add optional support for descriptors' __get__ and __set__ methods. Disabled by default. Enabled on unix and windows ports. --- windows/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) (limited to 'windows') diff --git a/windows/mpconfigport.h b/windows/mpconfigport.h index 6e342f0d3..01f8775fa 100644 --- a/windows/mpconfigport.h +++ b/windows/mpconfigport.h @@ -51,6 +51,7 @@ #define MICROPY_STREAMS_NON_BLOCK (1) #define MICROPY_OPT_COMPUTED_GOTO (0) #define MICROPY_CAN_OVERRIDE_BUILTINS (1) +#define MICROPY_PY_DESCRIPTORS (1) #define MICROPY_PY_BUILTINS_STR_UNICODE (1) #define MICROPY_PY_BUILTINS_MEMORYVIEW (1) #define MICROPY_PY_BUILTINS_FROZENSET (1) -- cgit v1.2.3