March 6, 2021
6:22 a.m.
Alexey Volkov <alexey.volkov@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 <report@bugs.python.org> <https://bugs.python.org/issue35118> _______________________________________