summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVincent Michel <vxgmichel@gmail.com>2021-09-09 13:12:03 (GMT)
committerGitHub <noreply@github.com>2021-09-09 13:12:03 (GMT)
commit06148b1870fceb1a21738761b8e1ac3bf654319b (patch)
tree183f403c348be7ed36f8fc93ec63c32c46688e68 /Misc
parent04676b69466d2e6d2903f1c6879d2cb292721455 (diff)
downloadcpython-06148b1870fceb1a21738761b8e1ac3bf654319b.zip
cpython-06148b1870fceb1a21738761b8e1ac3bf654319b.tar.gz
cpython-06148b1870fceb1a21738761b8e1ac3bf654319b.tar.bz2
bpo-44219: Release the GIL during isatty syscalls (GH-28250)
Release the GIL while performing isatty() system calls on arbitrary file descriptors. In particular, this affects os.isatty(), os.device_encoding() and io.TextIOWrapper. By extension, io.open() in text mode is also affected.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2021-09-09-10-32-33.bpo-44219.WiYyjz.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-09-09-10-32-33.bpo-44219.WiYyjz.rst b/Misc/NEWS.d/next/Core and Builtins/2021-09-09-10-32-33.bpo-44219.WiYyjz.rst
new file mode 100644
index 0000000..12915ff
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2021-09-09-10-32-33.bpo-44219.WiYyjz.rst
@@ -0,0 +1,4 @@
+Release the GIL while performing ``isatty`` system calls on arbitrary file
+descriptors. In particular, this affects :func:`os.isatty`,
+:func:`os.device_encoding` and :class:`io.TextIOWrapper`. By extension,
+:func:`io.open` in text mode is also affected.