Hi,

I only noticed recently that the codecs module doesn't support universal 
newline parsing. This means that parsing source files with DOS line endings 
will currently lead to this error:

        C:\Python31\hello.pyx:1:23: Unrecognized character

I'm not sure if this also impacts Mac users, but given that Robert didn't 
seem to have any problems so far, I assume not (and wonder why ...). Maybe 
it depends on more than just the system platform, perhaps including the 
Python build or something...

I fixed this for 0.13 by switching to the new 'io' module in Py2.6, plus a 
work-around for older Python versions.

http://trac.cython.org/cython_trac/ticket/520
http://hg.cython.org/cython-devel/rev/751bdd38b55c

However, given that many users on Windows will end up experiencing this 
problem, would this fix qualify for an emergency 0.12.2 release?

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to