Message 336128 - Python tracker

Message336128

Author rhettinger
Recipients Windson Yang, Zahash Z, matrixise, remi.lapeyre, rhettinger, serhiy.storchaka
Date 2019-02-20.17:26:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550683606.26.0.607329360352.issue36049@roundup.psfhosted.org>
In-reply-to
Content
> It has not yet been decided whether to expose the content
> of the queue in its repr at all. There is no public API for 
> accessing the content of the queue without removing items 
> from the queue, and I think it is intentional.

I agree with Serhiy.

Let's close this feature request.  It doesn't make sense for queues and is at odds with their design and intended uses.

There are a number of places where making a less opaque repr is helpful, but iterators and queues have a temporal aspect where this doesn't make sense.
History
Date User Action Args
2019-02-20 17:26:46rhettingersetrecipients: + rhettinger, serhiy.storchaka, matrixise, Windson Yang, remi.lapeyre, Zahash Z
2019-02-20 17:26:46rhettingersetmessageid: <1550683606.26.0.607329360352.issue36049@roundup.psfhosted.org>
2019-02-20 17:26:46rhettingerlinkissue36049 messages
2019-02-20 17:26:46rhettingercreate