This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients Frunit, r.david.murray, rhettinger
Date 2015-08-15.04:06:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1439611618.97.0.330203864031.issue24866@psf.upfronthosting.co.za>
In-reply-to
Content
RDM is correct.  Queues having qsize() instead of __len__() was an intentional part of the design.  Code relying on the boolean value would be fragile.   

FWIW, this code is very old (originally designed by Guido when dinosaurs roamed the earth) and it is far too late to alter its API.
History
Date User Action Args
2015-08-15 04:06:59rhettingersetrecipients: + rhettinger, r.david.murray, Frunit
2015-08-15 04:06:58rhettingersetmessageid: <1439611618.97.0.330203864031.issue24866@psf.upfronthosting.co.za>
2015-08-15 04:06:58rhettingerlinkissue24866 messages
2015-08-15 04:06:58rhettingercreate