summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2022-11-30 11:36:06 (GMT)
committerGitHub <noreply@github.com>2022-11-30 11:36:06 (GMT)
commit417206a05c4545bde96c2bbbea92b53e6cac0d48 (patch)
tree8b989a93e86d20ab9fbc2bce1912496552575835 /Misc
parent19c38801ba2f42a220adece5d5f12e833b41822a (diff)
downloadcpython-417206a05c4545bde96c2bbbea92b53e6cac0d48.zip
cpython-417206a05c4545bde96c2bbbea92b53e6cac0d48.tar.gz
cpython-417206a05c4545bde96c2bbbea92b53e6cac0d48.tar.bz2
gh-99891: Fix infinite recursion in the tokenizer when showing warnings (GH-99893)
Automerge-Triggered-By: GH:pablogsal
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2022-11-30-11-09-40.gh-issue-99891.9VomwB.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-11-30-11-09-40.gh-issue-99891.9VomwB.rst b/Misc/NEWS.d/next/Core and Builtins/2022-11-30-11-09-40.gh-issue-99891.9VomwB.rst
new file mode 100644
index 0000000..20cd361
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2022-11-30-11-09-40.gh-issue-99891.9VomwB.rst
@@ -0,0 +1,3 @@
+Fix a bug in the tokenizer that could cause infinite recursion when showing
+syntax warnings that happen in the first line of the source. Patch by Pablo
+Galindo