[New-bugs-announce] [issue9380] Allow popping of n elements at once from a deque

ipatrol report at bugs.python.org
Mon Jul 26 02:04:58 CEST 2010


New submission from ipatrol <ipatrol6010 at yahoo.com>:

Yes, I know, this was proposed with builtin lists years before. But I can't help but think that at least for pop-append oriented deques, a popping analogue to extend would make use of deques in iterators easier. It should ideally return an iterator, possibly with an added __len__ method. I suggest the names popn and popnleft.

----------
components: Library (Lib)
messages: 111583
nosy: ipatrol
priority: normal
severity: normal
status: open
title: Allow popping of n elements at once from a deque
type: feature request
versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9380>
_______________________________________


More information about the New-bugs-announce mailing list