On Sat, Nov 27, 2010 at 11:36 PM, Stefan Behnel <stefan...@behnel.de> wrote: > 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.
Thanks! Here is a minimal example of where it succeeds and where it fails: cdef extern from "globals.h": ctypedef unsigned long Ulong cdef extern from "list.h": Ulong size() unsigned long size2() def fail(): cdef j = 0 for j from 0 <= j < size(): print j def succeed(): cdef j = 0 for j from 0 <= j < size2(): print j --Mike _______________________________________________ Cython-dev mailing list Cython-dev@codespeak.net http://codespeak.net/mailman/listinfo/cython-dev