[issue14976] Queue.PriorityQueue() is not interrupt safe

Richard Oudkerk report at bugs.python.org
Fri Jun 1 14:02:09 CEST 2012


Richard Oudkerk <shibturn at gmail.com> added the comment:

I don't think there is anything special about PriorityQueue.

There is a similar concerning the use of the Python implementation of RLock in signal handlers -- see http://bugs.python.org/issue13697.

Maybe the signal handler should temporarily mask or ignore SIGINT while it runs.

----------
nosy: +sbt

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


More information about the Python-bugs-list mailing list