Movatterモバイル変換


[0]ホーム

URL:


homepage

Message357133

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Authorcorona10
RecipientsZoran Simic, corona10
Date2019-11-21.06:13:17
SpamBayes Score-1.0
Marked as misclassifiedYes
Message-id<1574316798.03.0.876854960625.issue38871@roundup.psfhosted.org>
In-reply-to
Content
I can reproduce on the latest master branch../pythonTools/scripts/2to3 2.pyRefactoringTool: Skipping optional fixer: bufferRefactoringTool: Skipping optional fixer: idiomsRefactoringTool: Skipping optional fixer: set_literalRefactoringTool: Skipping optional fixer: ws_commaRefactoringTool: Refactored 2.py--- 2.py(original)+++ 2.py(refactored)@@ -1,3 +1,3 @@ data = [1, 2, 3, 4, 5]-x = filter(lambda x: True if x > 2 else False, data)+x = [x for x in data if True if x > 2 else False] print(x)RefactoringTool: Files that need to be modified:RefactoringTool: 2.py
History
DateUserActionArgs
2019-11-21 06:13:18corona10setrecipients: +corona10,Zoran Simic
2019-11-21 06:13:18corona10setmessageid: <1574316798.03.0.876854960625.issue38871@roundup.psfhosted.org>
2019-11-21 06:13:18corona10linkissue38871 messages
2019-11-21 06:13:17corona10create
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp