[py-dev] Problems with DOS files
Ian Bicking
ianb at colorstudy.com
Thu Dec 2 22:31:30 CET 2004
Patrick K. O'Brien wrote:
> The same problem happens on Windows, because the files are being read as
> binary, maintaining the \r\n-style line endings that mess up the compiler.
It occurs to me that there might be another bug in there, that py.path
might not do the unicode detection that Python normally does (PEP 263;
e.g., # -*- encoding: UTF-8 -*-). I haven't tested it (I've never
actually used unicode source), but I thought I'd note it since it came
to mind.
--
Ian Bicking / ianb at colorstudy.com / http://blog.ianbicking.org
More information about the Pytest-dev
mailing list