Alexey Volkov <alexey.vol...@ark-kun.com> added the comment:

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

I want to examine the first (oldest) element in queue and remove it if it's too 
old.

The queue should not be modified unless the oldest element is too old.

----------
nosy: +Ark-kun

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35118>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to