Re: [Cython] [Pyrex] [Bug 208262] [NEW] Invalid typedefs on Windows

Robert Bradshaw <[email protected]>
Newsgroups gmane.comp.python.cython.devel,gmane.comp.python.pyrex
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.