summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2018-02-11 16:43:48 (GMT)
committerGitHub <noreply@github.com>2018-02-11 16:43:48 (GMT)
commit310b05289b5d9550040f469e60b5e8e77f1022b6 (patch)
tree0d8e6ac41aa4362fb91991b3e680c094b2676294 /PC
parent136c8e07955392676680c8e29ab96017127b6672 (diff)
downloadcpython-310b05289b5d9550040f469e60b5e8e77f1022b6.zip
cpython-310b05289b5d9550040f469e60b5e8e77f1022b6.tar.gz
cpython-310b05289b5d9550040f469e60b5e8e77f1022b6.tar.bz2
bpo-32604: Make _xxsubinterpreters build on Windows (GH-5516)
This is not the ideal solution; this means that a test module is now always included in the main python3x.dll. However, we're already including xxsubtype, so why not?
Diffstat (limited to 'PC')
-rw-r--r--PC/config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/PC/config.c b/PC/config.c
index 6209d7e..0c08bfe 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -31,7 +31,9 @@ extern PyObject* PyInit__locale(void);
#endif
extern PyObject* PyInit__codecs(void);
extern PyObject* PyInit__weakref(void);
+/* XXX: These two should really be extracted to standalone extensions. */
extern PyObject* PyInit_xxsubtype(void);
+extern PyObject* PyInit__xxsubinterpreters(void);
extern PyObject* PyInit_zipimport(void);
extern PyObject* PyInit__random(void);
extern PyObject* PyInit_itertools(void);
@@ -126,6 +128,7 @@ struct _inittab _PyImport_Inittab[] = {
{"_json", PyInit__json},
{"xxsubtype", PyInit_xxsubtype},
+ {"_xxsubinterpreters", PyInit__xxsubinterpreters},
{"zipimport", PyInit_zipimport},
#ifdef _Py_HAVE_ZLIB
{"zlib", PyInit_zlib},