Mike Hansen, 27.11.2010 22:28: > On Sat, Nov 27, 2010 at 12:58 PM, Stefan Behnel wrote: >> BTW, could you show us the relevant sections of the code that you are >> compiling there? A test case would be great. > > If I run pdb.post_mortem(), is there an easy way to move up the stack > to somewhere where I can find what code it was trying to compile? The > file is somewhat large so I don't want to do it by trial and error.
Ah, right, I think you don't get an AST trace during code generation. That's too bad. But you can just go back to the frame in Nodes.py where it is trying to handle the ForFromStatNode and print its self.pos. That will give you the file and line/column number. Stefan _______________________________________________ Cython-dev mailing list Cython-dev@codespeak.net http://codespeak.net/mailman/listinfo/cython-dev