Robin Stocker added the comment: Guido: The check was only done for call nodes, not for function definitions. __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1745> __________________________________