summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-03-20 14:30:17 -0700
committerGitHub <noreply@github.com>2019-03-20 14:30:17 -0700
commit6f288ebb569cb60bd32d36ac4f85c8c44e52384a (patch)
tree247d048cdf8757e0f5a05fd6b437c8bfe3b5efac /py
parent9f3ca66f97aa51eef295903e68b22a260a82a08d (diff)
parenteca23a727965c067a09ed7d1d99ec878cc061d65 (diff)
Merge pull request #1675 from dhalbert/cpython-compat
enable MICROPY_CPYTHON_COMPAT for most builds except CIRCUITPY_SMALL_BUILD
Diffstat (limited to 'py')
-rw-r--r--py/circuitpy_mpconfig.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/circuitpy_mpconfig.h b/py/circuitpy_mpconfig.h
index 00f3c7b3f..b867c0186 100644
--- a/py/circuitpy_mpconfig.h
+++ b/py/circuitpy_mpconfig.h
@@ -177,6 +177,7 @@ typedef long mp_off_t;
// Remove some lesser-used functionality to make small builds fit.
#define MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG (CIRCUITPY_FULL_BUILD)
+#define MICROPY_CPYTHON_COMPAT (CIRCUITPY_FULL_BUILD)
#define MICROPY_MODULE_WEAK_LINKS (CIRCUITPY_FULL_BUILD)
#define MICROPY_PY_ALL_SPECIAL_METHODS (CIRCUITPY_FULL_BUILD)
#define MICROPY_PY_BUILTINS_COMPLEX (CIRCUITPY_FULL_BUILD)