summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-10-12 21:48:57 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-10-12 21:48:57 (GMT)
commit4eb59782a8d9cbe220766640ec91773d5250a9fd (patch)
tree65a6a7f9f00c2f47b3c950698d6a6524a348aedd
parentf3250b0b0b335fa27ef386cd163359edd1d560f8 (diff)
downloadcpython-4eb59782a8d9cbe220766640ec91773d5250a9fd.zip
cpython-4eb59782a8d9cbe220766640ec91773d5250a9fd.tar.gz
cpython-4eb59782a8d9cbe220766640ec91773d5250a9fd.tar.bz2
Supply the _subprocess module under 7.1. I'm not sure what the status
of this should be on non-WIN32 Windows variants.
-rw-r--r--PC/config.c3
-rw-r--r--PCbuild/pythoncore.vcproj3
2 files changed, 6 insertions, 0 deletions
diff --git a/PC/config.c b/PC/config.c
index a8f27b8..983255a 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -61,6 +61,7 @@ extern void init_codecs_iso2022(void);
extern void init_codecs_jp(void);
extern void init_codecs_kr(void);
extern void init_codecs_tw(void);
+extern void init_subprocess(void);
/* tools/freeze/makeconfig.py marker for additional "extern" */
/* -- ADDMODULE MARKER 1 -- */
@@ -105,6 +106,8 @@ struct _inittab _PyImport_Inittab[] = {
{"msvcrt", initmsvcrt},
{"_locale", init_locale},
#endif
+ /* XXX Should _subprocess go in a WIN32 block? not WIN64? */
+ {"_subprocess", init_subprocess},
{"_codecs", init_codecs},
{"_weakref", init_weakref},
diff --git a/PCbuild/pythoncore.vcproj b/PCbuild/pythoncore.vcproj
index 59498b3..59bddb3 100644
--- a/PCbuild/pythoncore.vcproj
+++ b/PCbuild/pythoncore.vcproj
@@ -364,6 +364,9 @@
RelativePath="..\Modules\_sre.c">
</File>
<File
+ RelativePath="..\Pc\_subprocess.c">
+ </File>
+ <File
RelativePath="..\Modules\_weakref.c">
<FileConfiguration
Name="Release|Win32">