◐ Shell
clean mode source ↗

[3.14] gh-139640: Fix swallowing syntax warnings in different modules (GH-139755) by miss-islington · Pull Request #140117 · python/cpython

Revert GH-131993.

Fix swallowing some syntax warnings in different modules if they accidentally
have the same message and are emitted from the same line.

Fix duplicated warnings in the "finally" block.

(cherry picked from commit 279db6b)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com