[issue5420] Queue deprecation warning patch

Raymond Hettinger report at bugs.python.org
Thu Mar 5 04:55:31 CET 2009


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

Can you make a single patch for Lib/queue.py and Misc/NEWS and remove
any uses of emtpy/full in the standard library including multiprocessing.

Also, for deprecations, it's always nice to have the message suggest an
alternative, something like:  "The empty() method is deprecated and
scheduled to be removed in Py3.2.  Instead, use qsize() or catch a
queue.Empty exception."

----------
assignee:  -> rhettinger
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5420>
_______________________________________


More information about the Python-bugs-list mailing list