Use non-deprecated name for `notify_all`
`notifyAll` was deprecated in:
The new name, `notify_all`, has been available since Python 3.0.
@@ -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:
