[Python-3000] Useless methods in Queue module
aahz at pythoncraft.com
Fri Jan 11 20:16:01 CET 2008
On Fri, Jan 11, 2008, Raymond Hettinger wrote:
> I proposed to remove three methods from the queue module, qsize(),
> empty(), and full(). These are not reliable. The RightWay (tm) is to
> trap the Empty and Full exceptions or use the .join() approach.
Although I'm not going to advocate for retaining them, I see them as
mildly useful for logging purposes (especially qsize()).
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Weinberg's Second Law: If builders built buildings the way programmers wrote
programs, then the first woodpecker that came along would destroy civilization.
More information about the Python-3000