Use non-deprecated name for notify_all

`notifyAll` was deprecated in:
https://github.com/python/cpython/issues/87889

The new name, `notify_all`, has been available since Python 3.0.
This commit is contained in:
Adrian Sampson 2022-08-21 08:06:10 -07:00
parent 6e0f7a1e68
commit 2c9f699ffd
No known key found for this signature in database
GPG key ID: BDB93AB409CC8705

View file

@ -75,8 +75,8 @@ def _invalidate_queue(q, val=None, sync=True):
q._qsize = _qsize
q._put = _put
q._get = _get
q.not_empty.notifyAll()
q.not_full.notifyAll()
q.not_empty.notify_all()
q.not_full.notify_all()
finally:
if sync: