Skip to content

[3.9] bpo-44219: Release the GIL during isatty syscalls (GH-28250)#28256

Merged
miss-islington merged 1 commit intopython:3.9from
miss-islington:backport-06148b1-3.9
Sep 9, 2021
Merged

[3.9] bpo-44219: Release the GIL during isatty syscalls (GH-28250)#28256
miss-islington merged 1 commit intopython:3.9from
miss-islington:backport-06148b1-3.9

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Sep 9, 2021

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 06148b1)

Co-authored-by: Vincent Michel vxgmichel@gmail.com

https://bugs.python.org/issue44219

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 06148b1)

Co-authored-by: Vincent Michel <vxgmichel@gmail.com>
@miss-islington
Copy link
Copy Markdown
Contributor Author

@vxgmichel and @vstinner: Status check is done, and it's a success ✅ .

Copy link
Copy Markdown
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good bot.

@miss-islington
Copy link
Copy Markdown
Contributor Author

@vxgmichel and @vstinner: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 5c65834 into python:3.9 Sep 9, 2021
@miss-islington miss-islington deleted the backport-06148b1-3.9 branch September 9, 2021 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants