cython-devel

changeset 2741:f1f5f3768cdb

fix #463: TypeofNode crashes when typeof() is called on expressions
author Stefan Behnel <scoder@users.berlios.de>
date Sat Dec 05 17:37:05 2009 +0100 (2 years ago)
parents dacc3f77844e
children 48d0197cfee6
files Cython/Compiler/ExprNodes.py
line diff
1.1 --- a/Cython/Compiler/ExprNodes.py Sat Dec 05 17:25:17 2009 +0100 1.2 +++ b/Cython/Compiler/ExprNodes.py Sat Dec 05 17:37:05 2009 +0100 1.3 @@ -4413,7 +4413,7 @@ 1.4 literal = None 1.5 type = py_object_type 1.6 1.7 - subexprs = ['operand', 'literal'] 1.8 + subexprs = ['literal'] 1.9 1.10 def analyse_types(self, env): 1.11 self.operand.analyse_types(env)