Ondrej Certik, 11.03.2010 08:15: > I am trying the new C++ syntax. I got the following error (all files > attached): > > $ cython _hermes_common.pyx > [...] > 396, in analyse_declarations > self.body.analyse_declarations(env) > File "/home/ondrej/usr/lib/python/Cython/Compiler/Nodes.py", line > 341, in analyse_declarations > stat.analyse_declarations(env) > File "/home/ondrej/usr/lib/python/Cython/Compiler/Nodes.py", line > 1029, in analyse_declarations > if len(self.attributes) != 0: > TypeError: object of type 'NoneType' has no len() > > It's some mistake in the file, but I don't know where, when cython > exits with an exception.
Try setting "debug_no_exception_intercept" to False in Cython/Compiler/DebugFlags.py. It looks like someone accidentally enabled it. That will hopefully get you a better hint on what's happening. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
