[issue44219] Opening a file holds the GIL when it calls "isatty()"

Vincent Michel report at bugs.python.org
Wed Sep 8 12:33:15 EDT 2021


Vincent Michel <vxgmichel at gmail.com> added the comment:

Here's a possible patch that fixes the 3 unprotected calls to `isatty` mentioned above. It successfully passes the test suite. I can submit a PR with this patch if necessary.

----------
keywords: +patch
Added file: https://bugs.python.org/file50270/bpo-44219.patch

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44219>
_______________________________________


More information about the Python-bugs-list mailing list