[New-bugs-announce] [issue19174] Add range to future_builtins
Peter
report at bugs.python.org
Sat Oct 5 20:54:41 CEST 2013
New submission from Peter:
Much like how iterator style filter, map and zip are available via future_builtins (issue #2171), it would be natural to expect range to be there too, e.g.
>>> from future_builtins import range
>>> range(5)
range(0, 5)
The 2to3 fixers would need to be modified in the same way the map/filter/zip fixers were to be aware when a Python3 style range was in use via this import.
----------
messages: 198997
nosy: maubp
priority: normal
severity: normal
status: open
title: Add range to future_builtins
type: enhancement
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19174>
_______________________________________
More information about the New-bugs-announce
mailing list