Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4eb5978

Browse files
committed
Supply the _subprocess module under 7.1. I'm not sure what the status
of this should be on non-WIN32 Windows variants.
1 parent f3250b0 commit 4eb5978

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

PC/config.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ extern void init_codecs_iso2022(void);
6161
extern void init_codecs_jp(void);
6262
extern void init_codecs_kr(void);
6363
extern void init_codecs_tw(void);
64+
extern void init_subprocess(void);
6465

6566
/* tools/freeze/makeconfig.py marker for additional "extern" */
6667
/* -- ADDMODULE MARKER 1 -- */
@@ -105,6 +106,8 @@ struct _inittab _PyImport_Inittab[] = {
105106
{"msvcrt", initmsvcrt},
106107
{"_locale", init_locale},
107108
#endif
109+
/* XXX Should _subprocess go in a WIN32 block? not WIN64? */
110+
{"_subprocess", init_subprocess},
108111

109112
{"_codecs", init_codecs},
110113
{"_weakref", init_weakref},

PCbuild/pythoncore.vcproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,9 @@
363363
<File
364364
RelativePath="..\Modules\_sre.c">
365365
</File>
366+
<File
367+
RelativePath="..\Pc\_subprocess.c">
368+
</File>
366369
<File
367370
RelativePath="..\Modules\_weakref.c">
368371
<FileConfiguration

0 commit comments

Comments
 (0)