[issue40907] cpython/lib/queue.py: put() does not acquire not_empty before notifying on it

Raymond Hettinger report at bugs.python.org
Tue Jun 9 21:23:53 EDT 2020


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

Also note that threading.Condition.notify() would raise a RuntimeError if the underlying lock had not been acquired.

Have you observed any behavior to the contrary?

----------

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


More information about the Python-bugs-list mailing list