Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment: This seems to have been fixed with issue28837 and 93b4b47e3a720171d67f3b608de406aef462835c. Marking this as resolved. Thanks for the report.
➜ cpython git:(master) ✗ cat /tmp/foo.py zip(B, D)[:-1] ➜ cpython git:(master) ✗ 2to3-3.7 /tmp/foo.py RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored /tmp/foo.py --- /tmp/foo.py (original) +++ /tmp/foo.py (refactored) @@ -1 +1 @@ -zip(B, D)[:-1] +list(zip(B, D))[:-1] RefactoringTool: Files that need to be modified: RefactoringTool: /tmp/foo.py ---------- nosy: +xtreak resolution: -> fixed stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue12616> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com