]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38871: Fix lib2to3 for filter-based statements that contain lambda (GH-17780)
authorDong-hee Na <donghee.na92@gmail.com>
Tue, 7 Jan 2020 17:30:55 +0000 (02:30 +0900)
committerVictor Stinner <vstinner@python.org>
Tue, 7 Jan 2020 17:30:54 +0000 (18:30 +0100)
commitb821173b5458d137c8d5edb6e9b4997aac800a38
treecfce6072acf70326f63889be722ab402d4d36e95
parent13a7ee8d62dafe7d2291708312fa2a86e171c7fa
bpo-38871: Fix lib2to3 for filter-based statements that contain lambda (GH-17780)

Correctly parenthesize filter-based statements that contain lambda
expressions in lib2to3.
Lib/lib2to3/fixes/fix_filter.py
Lib/lib2to3/tests/test_fixers.py
Misc/NEWS.d/next/Library/2020-01-01-18-44-52.bpo-38871.3EEOLg.rst [new file with mode: 0644]