New submission from ipatrol <ipatrol6...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue9380>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to