]> granicus.if.org Git - python/commit
Issue #26146: enhance ast.Constant error message
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 26 Jan 2016 23:39:12 +0000 (00:39 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 26 Jan 2016 23:39:12 +0000 (00:39 +0100)
commitbe59d1489bdf150e05e67a89cc772628af7e8fd6
tree5e4677069edcb4609bf746163477f950e42b86c0
parent25219f596a069e8d4ed7114cd9b1bddc2a1de3b7
Issue #26146: enhance ast.Constant error message

Mention the name of the invalid type in error message of AST validation for
constants.

Suggestion made by Joseph Jevnik on a review.
Lib/test/test_ast.py
Python/ast.c