Skip to content

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Oct 7, 2025

Revert GH-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.

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. <[email protected]>
@serhiy-storchaka
Copy link
Member Author

It is based on the original solution proposed by @tomasr8 in #131927 (comment).

@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant