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

Robert Bradshaw robertwb at math.washington.edu
Sat Mar 29 22:37:40 CET 2008


On Mar 29, 2008, at 2:13 PM, Greg Ewing wrote:
>> On Mar 28, 2008, at 7:21 AM, Chris Perkins wrote:
>>
>>> typedef int __pyx_t_22C:\temp\cython_bug\bug_Int32;
>
> I've had another thought -- this looks like it's the
> result of a name mangling operation that's somehow got
> hold of a pathname as a module name.
>
> I gather that Cython figures out module names from
> pathnames differently from Pyrex. Could something have
> gone wrong in that area?
>
> Could it be something to do with forward vs. back
> slashes?

Thanks for your replies. We hunted it down and it turns out your  
hunch was exactly right. It might affect Pyrex as well (if the  
filename has some weird character in it, regardless of directory  
structure).

- Robert




More information about the Pyrex mailing list