[Python-3000] Useless methods in Queue module

Facundo Batista facundobatista at gmail.com
Tue Jan 15 12:24:44 CET 2008


2008/1/14, Raymond Hettinger <python at rcn.com>:

> I do recommend we dump q.empty() and q.full().  The right way is to trap the Empty and Full exceptions.  If needed qsize() is available to make your own less reliable checks.

+1

-- 
.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/


More information about the Python-3000 mailing list