Lothsahn added the comment:

I am using Python 2.6.5 (we will be upgrading to Python 2.7.9 soon) and I 
recently ran into this bug.

If I do any locking in a signal handler with RLocks, the entire system can 
deadlock.  I'm using this to serialize my IO so we don't have mismatched lines 
in our logs.  It looks like RLock was implemented in C in 3.2.  While I don't 
care about the performance benefits of that rewrite, having a non-deadlocking 
RLock implementation would be nice.

Not sure if this issue can be fixed in 2.7, but it would be nice.

C RLock implementation here:
http://bugs.python.org/issue3001

----------
nosy: +Lothsahn

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13697>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to