summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-01-27 09:57:43 (GMT)
committerGitHub <noreply@github.com>2022-01-27 09:57:43 (GMT)
commit606e496dd6e2ace298532da200169124c26ae0f2 (patch)
treec819bcc172b0f23cc2fbc36809c70e308a68ae6c /Misc/NEWS.d
parent897ce9018775bcd679fb49aa17258f8f6e818e23 (diff)
downloadcpython-606e496dd6e2ace298532da200169124c26ae0f2.zip
cpython-606e496dd6e2ace298532da200169124c26ae0f2.tar.gz
cpython-606e496dd6e2ace298532da200169124c26ae0f2.tar.bz2
bpo-40280: Use presence of msvcrt module to detect Windows (GH-30930)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2022-01-16-14-07-14.bpo-40280.LtFHfF.rst4
1 files changed, 2 insertions, 2 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
index b7bd7ab..f5d7676 100644
--- 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
@@ -1,4 +1,4 @@
:mod:`subprocess` now imports Windows-specific imports when
-``sys.platform == "win32"`` and POSIX-specific imports on all other
+``msvcrt`` module is available, 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.
+available (e.g. Emscripten browser target).