mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Describe new methods in Queue module
This commit is contained in:
parent
0693ae147c
commit
9059843a60
1 changed files with 7 additions and 0 deletions
|
@ -1664,6 +1664,13 @@ single number as \file{pystone.py} does.
|
||||||
\item The \module{pyexpat} module now uses version 2.0 of the Expat parser.
|
\item The \module{pyexpat} module now uses version 2.0 of the Expat parser.
|
||||||
(Contributed by Trent Mick.)
|
(Contributed by Trent Mick.)
|
||||||
|
|
||||||
|
\item The \class{Queue} class provided by the \module{Queue} module
|
||||||
|
gained two new methods. \method{join()} blocks until all items in
|
||||||
|
the queue have been retrieved and all processing work on the items
|
||||||
|
have been completed. Worker threads call the other new method,
|
||||||
|
\method{task_done()}, to signal that processing for an item has been
|
||||||
|
completed. (Contributed by Raymond Hettinger.)
|
||||||
|
|
||||||
\item The old \module{regex} and \module{regsub} modules, which have been
|
\item The old \module{regex} and \module{regsub} modules, which have been
|
||||||
deprecated ever since Python 2.0, have finally been deleted.
|
deprecated ever since Python 2.0, have finally been deleted.
|
||||||
Other deleted modules: \module{statcache}, \module{tzparse},
|
Other deleted modules: \module{statcache}, \module{tzparse},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue