]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44219: Release the GIL during isatty syscalls (GH-28250)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 9 Sep 2021 13:40:42 +0000 (06:40 -0700)
committerGitHub <noreply@github.com>
Thu, 9 Sep 2021 13:40:42 +0000 (06:40 -0700)
commit5c65834d801d6b4313eef0684a30e12c22ccfedd
tree9a071ed023edbe6347013657cd7b990849dcc654
parentdc2e11ed5a5a8083db1d8b5e2396c9238999568c
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.
(cherry picked from commit 06148b1870fceb1a21738761b8e1ac3bf654319b)

Co-authored-by: Vincent Michel <vxgmichel@gmail.com>
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