Author corona10
Recipients Zoran Simic, corona10
Date 2019-11-21.06:13:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574316798.03.0.876854960625.issue38871@roundup.psfhosted.org>
In-reply-to
Content
I can reproduce on the latest master branch.

./python Tools/scripts/2to3 2.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 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
Date User Action Args
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