Check the return values for all functions returning an ast node.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 19 Aug 2010 17:43:15 +0000 (17:43 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 19 Aug 2010 17:43:15 +0000 (17:43 +0000)
commit92dc80a8d8c4bf72a40079c46d6fb6302e448b0c
tree63d84d29e397f7c7eb56ec2cc575e1c0db6da932
parent5c1808a1a81c22ae60d170320f454afb207454d1
Check the return values for all functions returning an ast node.
Failure to do it may result in strange error messages or even crashes,
in admittedly convoluted cases that are normally syntax errors, like:
    def f(*xx, __debug__): pass
Python/ast.c