bpo-30966: Add multiprocessing.SimpleQueue.close() by vstinner · Pull Request #2760 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Conversation

pitrou

mlouielu

pitrou

serhiy-storchaka

cfbolz

* Add a new close() method to multiprocessing.SimpleQueue to explicitly
  close the queue.
* Operation on a closed queue raises a ValueError.
* Remove the SimpleQueue._poll attribute: use self._reader.poll()