◐ Shell
clean mode source ↗

gh-131927: Silence PEP 765 warnings in PyREPL by serhiy-storchaka · Pull Request #139719 · python/cpython

Revert pythonGH-131993. Explicitly silence the duplicated PEP 765 syntax warnings
in the REPL.

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

Co-authored-by: Tomas R. <tomas.roun8@gmail.com>

@serhiy-storchaka serhiy-storchaka changed the title gh-139640: Fix swallowing syntax warnings in different modules gh-139640: Fix swallowing syntax warnings in different modules (silence PEP 765 warnings in PyREPL)

Oct 8, 2025

@serhiy-storchaka serhiy-storchaka changed the title gh-139640: Fix swallowing syntax warnings in different modules (silence PEP 765 warnings in PyREPL) gh-139640: Silence PEP 765 warnings in PyREPL

Oct 14, 2025

@serhiy-storchaka serhiy-storchaka changed the title gh-139640: Silence PEP 765 warnings in PyREPL gh-131927: Silence PEP 765 warnings in PyREPL

Oct 14, 2025