diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2006-12-18 17:38:14 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2006-12-18 17:38:14 (GMT) |
commit | 9059843a60e94bea3a42a20907fd7495942f89a5 (patch) | |
tree | 6df43336f3698190da2b6b5e34d0cb405ff64ea2 /Doc | |
parent | 0693ae147c5a1abfef58e7d42170bca3a3df265c (diff) | |
download | cpython-9059843a60e94bea3a42a20907fd7495942f89a5.zip cpython-9059843a60e94bea3a42a20907fd7495942f89a5.tar.gz cpython-9059843a60e94bea3a42a20907fd7495942f89a5.tar.bz2 |
Describe new methods in Queue module
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/whatsnew25.tex | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/whatsnew25.tex b/Doc/whatsnew/whatsnew25.tex index 99618e6..fce3927 100644 --- a/Doc/whatsnew/whatsnew25.tex +++ b/Doc/whatsnew/whatsnew25.tex @@ -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. (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 deprecated ever since Python 2.0, have finally been deleted. Other deleted modules: \module{statcache}, \module{tzparse}, |