]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44219: Release the GIL during isatty syscalls (GH-28250)
authorVincent Michel <vxgmichel@gmail.com>
Thu, 9 Sep 2021 13:12:03 +0000 (15:12 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Sep 2021 13:12:03 +0000 (15:12 +0200)
commit06148b1870fceb1a21738761b8e1ac3bf654319b
tree183f403c348be7ed36f8fc93ec63c32c46688e68
parent04676b69466d2e6d2903f1c6879d2cb292721455
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.
Misc/NEWS.d/next/Core and Builtins/2021-09-09-10-32-33.bpo-44219.WiYyjz.rst [new file with mode: 0644]
Modules/posixmodule.c
Python/fileutils.c