summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2020-02-29 21:16:32 (GMT)
committerGitHub <noreply@github.com>2020-02-29 21:16:32 (GMT)
commit4d7012410cf4f91cbca4c406f4747289c2802333 (patch)
treedad351df0eed3e5ab293c1470c3a8ef8eda5147a /PC
parente4686b79798f7a492dcbaa62cf51f4d07fd5ae78 (diff)
downloadcpython-4d7012410cf4f91cbca4c406f4747289c2802333.zip
cpython-4d7012410cf4f91cbca4c406f4747289c2802333.tar.gz
cpython-4d7012410cf4f91cbca4c406f4747289c2802333.tar.bz2
[3.8] bpo-39794: Add --without-decimal-contextvar (GH-18702)
(cherry picked from commit 815280eb160af637e1347213659f9236adf78f80)
Diffstat (limited to 'PC')
-rw-r--r--PC/pyconfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index b40e24f..b6b8d44 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -470,6 +470,10 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
(which you can't on SCO ODT 3.0). */
/* #undef SYS_SELECT_WITH_SYS_TIME */
+/* Define if you want build the _decimal module using a coroutine-local rather
+ than a thread-local context */
+#define WITH_DECIMAL_CONTEXTVAR 1
+
/* Define if you want documentation strings in extension modules */
#define WITH_DOC_STRINGS 1