◐ Shell
clean mode source ↗

gh-96471: Add multiprocessing queue shutdown by EpicWink · Pull Request #104230 · python/cpython

and others added 2 commits

May 6, 2023 15:10
* Remove ctypes import (use string identifiers for value types)
* Use queue's context to get shared value for queue state
* Include queue state in pickle
* Factor out queue-state checks and updates to methods
* Logic fixes in put and get
* Move shutdown method to before close
* Raise when shutting down closed queue
* Don't re-notify if immediately shutting down a queue already immediately shut-down
* Support shutdown in JoinableQueue
  * Handle in task_done and join
  * Logic fixes in put and shutdown
* Updated tests
* Document feature added in 3.13

@blurb-it

This was referenced

May 6, 2023

YvesDup

@EpicWink

@EpicWink

@EpicWink