Author porton
Recipients porton
Date 2018-07-21.15:53:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1532188437.33.0.56676864532.issue34180@psf.upfronthosting.co.za>
In-reply-to
Content
It seems that bool(Q) always return True for a priority queue Q.

It should behave the same way as for bool(L) where L is a list, that is return False on an empty queue.

Please check also other objects in https://docs.python.org/3/library/queue.html

After the bug is fixed, the documentation should be clear that there was a change in the behavior in certain Python version.
History
Date User Action Args
2018-07-21 15:53:57portonsetrecipients: + porton
2018-07-21 15:53:57portonsetmessageid: <1532188437.33.0.56676864532.issue34180@psf.upfronthosting.co.za>
2018-07-21 15:53:57portonlinkissue34180 messages
2018-07-21 15:53:57portoncreate