summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2021-05-04 00:32:46 (GMT)
committerGitHub <noreply@github.com>2021-05-04 00:32:46 (GMT)
commit9142088e7454a392b69a627863b235ecc32aea54 (patch)
tree87be7dd5e9a05f75791872a0cf694bf7fad2e9ba /Misc/NEWS.d
parent0aaf13a7140f411c2f1e7b206e1331ad8589ebed (diff)
downloadcpython-9142088e7454a392b69a627863b235ecc32aea54.zip
cpython-9142088e7454a392b69a627863b235ecc32aea54.tar.gz
cpython-9142088e7454a392b69a627863b235ecc32aea54.tar.bz2
bpo-43822: Prioritize tokenizer errors over custom syntax errors when raising parser exceptions (GH-25866)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2021-05-04-01-01-04.bpo-43822.9VeCg0.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-05-04-01-01-04.bpo-43822.9VeCg0.rst b/Misc/NEWS.d/next/Core and Builtins/2021-05-04-01-01-04.bpo-43822.9VeCg0.rst
new file mode 100644
index 0000000..b8815cd
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2021-05-04-01-01-04.bpo-43822.9VeCg0.rst
@@ -0,0 +1,2 @@
+The parser will prioritize tokenizer errors over custom syntax errors when
+raising exceptions. Patch by Pablo Galindo.