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 <>
Python-bugs-list mailing list

Reply via email to