From 6d5fa8f5f1e2403a0a2180748710606b88fb42d8 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Sat, 3 Feb 2018 14:17:57 -0600 Subject: [PATCH] bpo-32604: Make _xxsubinterpreters build on Windows 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? --- PC/config.c | 3 +++ PCbuild/pythoncore.vcxproj | 1 + 2 files changed, 4 insertions(+) diff --git a/PC/config.c b/PC/config.c index 6209d7e284f3fd..0c08bfeaa0dc5d 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}, diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj index f30945508698af..bf4131e91b0a15 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -279,6 +279,7 @@ + pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy