[issue4632] Wrong fix for range(42)[::-1]

2008-12-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for the report! Fixed in r67705. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue4632] Wrong fix for range(42)[::-1]

2008-12-11 Thread Thomas Heller
New submission from Thomas Heller <[EMAIL PROTECTED]>: The 2to3 fixer translates this code: range(42)[::-1] into this one: list(range(42)[::-1] which throws an error when run with Python 3: Traceback (most recent call last): File "test.py", line 1, in print(list(range(42)[::-1]))