[issue2690] Precompute range length and enhance range subscript support
Nick Coghlan
report at bugs.python.org
Fri Dec 3 17:42:19 CET 2010
Nick Coghlan <ncoghlan at gmail.com> added the comment:
Daniel Stutzbach pointed out that range() is also mentioned under:
http://docs.python.org/dev/library/stdtypes.html#sequence-types-str-bytes-bytearray-list-tuple-range
The descriptions of range's limitations there is no longer accurate (slicing is supported following this patch and containment testing is now efficient)
----------
assignee: georg.brandl ->
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2690>
_______________________________________
More information about the Python-bugs-list
mailing list