Stefan Behnel wrote:
> 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
> 

Totally amazing that we haven't got complaints about this before from 
Windows users. Is this something that's been there all the time or the 
result of a recent change?

> 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...

Perhaps newer Macs use Unix-style line endings, given the change to a 
BSD kernel? At least much of Robert's work is on Sage and I'd assume 
Sage files to be mostly Unix line-ended (much editing going on on 
math.washington.edu). Certainly, Emacs will deal with Unix line endings 
also on Macs.

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

Reply via email to