summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-01-17 06:23:36 (GMT)
committerGitHub <noreply@github.com>2022-01-17 06:23:36 (GMT)
commit7f4b69b9076bdbcea31f6ad16eb125ee99cf0175 (patch)
treebca8970e65dbc9489ac1033eb2ddd56d6ef728c5 /Misc
parent91e33ac3d08a1c6004c469da2c0e2a97b5bdc53c (diff)
downloadcpython-7f4b69b9076bdbcea31f6ad16eb125ee99cf0175.zip
cpython-7f4b69b9076bdbcea31f6ad16eb125ee99cf0175.tar.gz
cpython-7f4b69b9076bdbcea31f6ad16eb125ee99cf0175.tar.bz2
bpo-40280: Change subprocess imports for cleaner error on wasm32 (GH-30620)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-01-16-14-07-14.bpo-40280.LtFHfF.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-01-16-14-07-14.bpo-40280.LtFHfF.rst b/Misc/NEWS.d/next/Library/2022-01-16-14-07-14.bpo-40280.LtFHfF.rst
new file mode 100644
index 0000000..b7bd7ab
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-01-16-14-07-14.bpo-40280.LtFHfF.rst
@@ -0,0 +1,4 @@
+:mod:`subprocess` now imports Windows-specific imports when
+``sys.platform == "win32"`` and POSIX-specific imports on all other
+platforms. This gives a clean exception when ``_posixsubprocess`` is not
+available (e.g. Emscripten browser target) and it's slightly faster, too.