[Python-3000] Useless methods in Queue module

Raymond Hettinger python at rcn.com
Mon Jan 14 23:19:59 CET 2008

>     if not q.qsize():
>        print q.qsize()
> might print something besides 0.  And if it is a surprise,
> they should probably not be programming with threads. 
> 0.5-even-rounded wink>

I concur. Let's leave qsize() alone.  Even renaming it would cause unnecessary breakage.

FWIW, the removal of empty() and full() are checked-in.  Looks nice and clean now.


More information about the Python-3000 mailing list