gh-96471: Add multiprocessing queue shutdown by EpicWink · Pull Request #104230 · python/cpython
and others added 2 commits
* 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
This was referenced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters