Message248634
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. |
|
Date |
User |
Action |
Args |
2015-08-15 04:06:59 | rhettinger | set | recipients:
+ rhettinger, r.david.murray, Frunit |
2015-08-15 04:06:58 | rhettinger | set | messageid: <1439611618.97.0.330203864031.issue24866@psf.upfronthosting.co.za> |
2015-08-15 04:06:58 | rhettinger | link | issue24866 messages |
2015-08-15 04:06:58 | rhettinger | create | |
|