]> granicus.if.org Git - python/commit
bpo-36440: include node names in ParserError messages, instead of numeric IDs (GH...
authortyomitch <tyomitch@gmail.com>
Wed, 3 Apr 2019 05:12:07 +0000 (08:12 +0300)
committerPablo Galindo <Pablogsal@gmail.com>
Wed, 3 Apr 2019 05:12:07 +0000 (01:12 -0400)
commitcb0748d3939c31168ab5d3b80e3677494497d5e3
tree8debb59a0158afc0dd194ea161ca2669e7bdcef7
parent76b387bf7402863c5e64e3459e2f91ddc3b9d2d3
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.
Lib/test/test_parser.py
Misc/NEWS.d/next/Core and Builtins/2019-03-25-13-45-19.bpo-36440.gkvzhi.rst [new file with mode: 0644]
Modules/parsermodule.c