gh-96471: Add shutdown() method to queue.Queue (#104750)

Co-authored-by: Duprat <yduprat@gmail.com>
This commit is contained in:
Laurie O 2024-02-10 14:58:30 +10:00 • committed by GitHub
parent d4d5bae147
commit b2d9d134dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 474 additions and 0 deletions

View file

@ -403,6 +403,13 @@ pdb
command line option or :envvar:`PYTHONSAFEPATH` environment variable).
(Contributed by Tian Gao and Christian Walther in :gh:`111762`.)
queue
-----
* Add :meth:`queue.Queue.shutdown` (along with :exc:`queue.ShutDown`) for queue
termination.
(Contributed by Laurie Opperman and Yves Duprat in :gh:`104750`.)
re
--
* Rename :exc:`!re.error` to :exc:`re.PatternError` for improved clarity.