[Python-checkins] gh-92584: Remove references to removed _bootsubprocess (#99062)

vstinner webhook-mailer at python.org
Thu Nov 3 13:12:51 EDT 2022


https://github.com/python/cpython/commit/e99c5070132c13de41eeafa28307cc7b394e0958
commit: e99c5070132c13de41eeafa28307cc7b394e0958
branch: main
author: Victor Stinner <vstinner at python.org>
committer: vstinner <vstinner at python.org>
date: 2022-11-03T18:12:45+01:00
summary:

gh-92584: Remove references to removed _bootsubprocess (#99062)

The _bootsubprocess module was removed in gh-93939
by commit 81dca70d704d0834d8c30580e648a973250b2973.

files:
M Lib/_aix_support.py
M Tools/wasm/wasm_assets.py

diff --git a/Lib/_aix_support.py b/Lib/_aix_support.py
index 1d8482ff3825..18533e769b75 100644
--- a/Lib/_aix_support.py
+++ b/Lib/_aix_support.py
@@ -1,15 +1,9 @@
 """Shared AIX support functions."""
 
+import subprocess
 import sys
 import sysconfig
 
-try:
-    import subprocess
-except ImportError:  # pragma: no cover
-    # _aix_support is used in distutils by setup.py to build C extensions,
-    # before subprocess dependencies like _posixsubprocess are available.
-    import _bootsubprocess as subprocess
-
 
 def _aix_tag(vrtl, bd):
     # type: (List[int], int) -> str
diff --git a/Tools/wasm/wasm_assets.py b/Tools/wasm/wasm_assets.py
index 98a2841ce2b0..103f0d6d224b 100755
--- a/Tools/wasm/wasm_assets.py
+++ b/Tools/wasm/wasm_assets.py
@@ -50,7 +50,6 @@
     "xdrlib.py",
     # other platforms
     "_aix_support.py",
-    "_bootsubprocess.py",
     "_osx_support.py",
     # webbrowser
     "antigravity.py",



More information about the Python-checkins mailing list