Documentation
The SyntaxWarning appears only once during the pyc compilation, but I can't find this information in the documentation.
This is quite confusing for anyone trying to fix a SyntaxWarning. I noticed other warnings have descriptions like "ignored by default." Adding this information could help reduce confusion.
Related PR: #122844
Linked PRs
Documentation
The
SyntaxWarningappears only once during the pyc compilation, but I can't find this information in the documentation.This is quite confusing for anyone trying to fix a
SyntaxWarning. I noticed other warnings have descriptions like "ignored by default." Adding this information could help reduce confusion.Related PR: #122844
Linked PRs