Message338119
| Author |
xtreak |
| Recipients |
Aaron.Meurer, VPeric, benjamin.peterson, eric.araujo, xtreak |
| Date |
2019年03月17日.08:11:30 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1552810290.18.0.146252225818.issue12616@roundup.psfhosted.org> |
| In-reply-to |
| Content |
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 |
|