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

STINNER Victor report at bugs.python.org
Thu Sep 9 12:42:10 EDT 2021


STINNER Victor <vstinner at python.org> added the comment:

> In my case, the file in question is implemented as a FUSE mount which is served by the same process (different thread of course). Thus holding the GIL at this point causes a rather interesting deadlock.

Since the change fixes a deadlock, I agree to backport it to 3.9 and 3.10.

Thanks for the fix!

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list