[issue4377] tokenize.detect_encoding() and Mac newline

2010-07-29 Thread STINNER Victor
STINNER Victor added the comment: Well, it looks like nobody cares (including me), so I close this issue. -- resolution: -> wont fix status: open -> closed ___ Python tracker __

[issue4377] tokenize.detect_encoding() and Mac newline

2009-03-24 Thread STINNER Victor
STINNER Victor added the comment: See also related issue: #4628 (No universal newline support for compile() when using bytes). -- ___ Python tracker ___

[issue4377] tokenize.detect_encoding() and Mac newline

2008-11-21 Thread STINNER Victor
New submission from STINNER Victor <[EMAIL PROTECTED]>: I'm trying to fix IDLE to support Unicode (#4008 and #4323). Instead of IDLE builtin charset detection, I tried to use tokenize.detect_encoding() but this function doesn't work with script using Mac new line (b"\r"). Code to detect the e