diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-10-31 13:29:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-31 13:29:42 (GMT) |
commit | 08e4e11b758517ad614d71ff2377dd4057ffdcb1 (patch) | |
tree | 2488788697a8ff666fd59ba7edf06ad3c93b06d7 /Misc | |
parent | c66f0bedebeb0f63f02999fdf5c9ce9e045ea97d (diff) | |
download | cpython-08e4e11b758517ad614d71ff2377dd4057ffdcb1.zip cpython-08e4e11b758517ad614d71ff2377dd4057ffdcb1.tar.gz cpython-08e4e11b758517ad614d71ff2377dd4057ffdcb1.tar.bz2 |
[3.11] gh-111380: Show SyntaxWarnings only once when parsing if invalid syntax is encouintered (GH-111381) (#111383)
gh-111380: Show SyntaxWarnings only once when parsing if invalid syntax is encouintered (GH-111381)
(cherry picked from commit 3d2f1f0b830d86f16f42c42b54d3ea4453dac318)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2023-10-27-11-51-40.gh-issue-111380.vgSbir.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2023-10-27-11-51-40.gh-issue-111380.vgSbir.rst b/Misc/NEWS.d/next/Core and Builtins/2023-10-27-11-51-40.gh-issue-111380.vgSbir.rst new file mode 100644 index 0000000..4ce6398 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2023-10-27-11-51-40.gh-issue-111380.vgSbir.rst @@ -0,0 +1,2 @@ +Fix a bug that was causing :exc:`SyntaxWarning` to appear twice when parsing +if invalid syntax is encountered later. Patch by Pablo galindo |