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 Windson Yang, docs@python, rhettinger
Date 2018-10-31.04:06:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1540958795.56.0.788709270274.issue35118@psf.upfronthosting.co.za>
In-reply-to
Content
For deque, we have d[0].  Is anything more needed?  Even lists don't require a peek.

For Queue, I'm not sure I've ever seen any use case for peek.  What do you have in mind?  

* https://docs.oracle.com/javase/7/docs/api/java/util/Queue.html#peek()
History
Date User Action Args
2018-10-31 04:06:35rhettingersetrecipients: + rhettinger, docs@python, Windson Yang
2018-10-31 04:06:35rhettingersetmessageid: <1540958795.56.0.788709270274.issue35118@psf.upfronthosting.co.za>
2018-10-31 04:06:35rhettingerlinkissue35118 messages
2018-10-31 04:06:35rhettingercreate