New submission from Neil Girdhar:

When using sequence types polymorphically, range, list, and tuple are both 
iterable and subscriptable.  Unfortunately, itertools.count, cycle, and repeat 
objects are not subscriptable, although this is not a hard change.

Please consider making these objects subscriptable for polymorphic usage.

----------
components: Library (Lib)
messages: 176183
nosy: Neil.Girdhar
priority: normal
severity: normal
status: open
title: Make itertools count, cycle, and repeat objects subscriptable like range.
type: enhancement
versions: Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5

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

Reply via email to