summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authortyomitch <tyomitch@gmail.com>2019-04-03 05:12:07 (GMT)
committerPablo Galindo <Pablogsal@gmail.com>2019-04-03 05:12:07 (GMT)
commitcb0748d3939c31168ab5d3b80e3677494497d5e3 (patch)
tree8debb59a0158afc0dd194ea161ca2669e7bdcef7 /Misc
parent76b387bf7402863c5e64e3459e2f91ddc3b9d2d3 (diff)
downloadcpython-cb0748d3939c31168ab5d3b80e3677494497d5e3.zip
cpython-cb0748d3939c31168ab5d3b80e3677494497d5e3.tar.gz
cpython-cb0748d3939c31168ab5d3b80e3677494497d5e3.tar.bz2
bpo-36440: include node names in ParserError messages, instead of numeric IDs (GH-12565)
The error messages in the parser module are referring to numeric IDs for the nodes. To improve readability, use the node names when reporting errors.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2019-03-25-13-45-19.bpo-36440.gkvzhi.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-03-25-13-45-19.bpo-36440.gkvzhi.rst b/Misc/NEWS.d/next/Core and Builtins/2019-03-25-13-45-19.bpo-36440.gkvzhi.rst
new file mode 100644
index 0000000..372b1f7
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2019-03-25-13-45-19.bpo-36440.gkvzhi.rst
@@ -0,0 +1,2 @@
+Include node names in ``ParserError`` messages, instead of numeric IDs.
+Patch by A. Skrobov.