[issue10059] add the method `index` to collections.deque

Raymond Hettinger report at bugs.python.org
Sun Oct 10 07:30:09 CEST 2010


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

The absence of index() from collections deque wasn't an oversight.  Deques are not really about indexed access, they are about appending and popping from the ends.  I'm curious about your use case and whether it is a good match for this data structure.

----------
assignee:  -> rhettinger
components: +Extension Modules -Library (Lib)
priority: normal -> low

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


More information about the Python-bugs-list mailing list