[issue3618] possible deadlock in IO library (Lib/io.py)

STINNER Victor report at bugs.python.org
Thu Aug 21 13:36:29 CEST 2008


STINNER Victor <haypo at users.sourceforge.net> added the comment:

So if we consider that RLock is fast enough (see my C version of RLokc 
in #3001), we can use RLock instead of Lock to avoid this issue. Here 
is a patch to use RLock and also including an unit test of this issue.

Added file: http://bugs.python.org/file11190/io_deadlock.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3618>
_______________________________________


More information about the Python-bugs-list mailing list