[Python-Dev] [Python-checkins] r84209 - python/branches/py3k/Python/ast.c

Victor Stinner victor.stinner at haypocalc.com
Thu Aug 19 22:07:09 CEST 2010


Le jeudi 19 août 2010 19:43:15, amaury.forgeotdarc a écrit :
> Author: amaury.forgeotdarc
> Date: Thu Aug 19 19:43:15 2010
> New Revision: 84209
> 
> Log:
> 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

Would it be possible to write tests for this change?

-- 
Victor Stinner
http://www.haypocalc.com/


More information about the Python-Dev mailing list