[Pyrex] [Bug 208262] [NEW] Invalid typedefs on Windows

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Mar 29 22:09:42 CET 2008


Robert Bradshaw wrote:

> On Mar 28, 2008, at 7:21 AM, Chris Perkins wrote:
> 
>>I can get this in my generated c file, depending on how and from where
>>cython is invoked:
>>
>>typedef int __pyx_t_22C:\temp\cython_bug\bug_Int32;

As a suggestion on debugging this, you could insert something
into Pyrex.Compiler.Code.CCodeWriter.put() to detect when
it's writing out the offending string and raise an exception.
That would give a traceback showing where it's coming from.

-- 
Greg



More information about the Pyrex mailing list