Message123244
Ok, so +1 to apply immediatly your patch which "fixes" the deadlock. If someone is motived to make Buffered* classes reentrant, (s)he can remove this exception.
io and signal documentation should also be improved to indicate that using buffered I/O in a signal handler may raise a RuntimeError on reentrant call (and give an example to explain the problem?).
About the patch: can't you move "&& (self->owner = PyThread_get_thread_ident(), 1) )" in _enter_buffered_busy()? |
|
| Date |
User |
Action |
Args |
| 2010-12-03 13:30:41 | vstinner | set | recipients:
+ vstinner, gregory.p.smith, isandler, amaury.forgeotdarc, pitrou, stutzbach |
| 2010-12-03 13:30:41 | vstinner | set | messageid: <[email protected]> |
| 2010-12-03 13:30:38 | vstinner | link | issue10478 messages |
| 2010-12-03 13:30:38 | vstinner | create | |
|