This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients amaury.forgeotdarc, christian.heimes, draghuram, gvanrossum
Date 2007-11-06.18:59:14
SpamBayes Score 0.012414492
Marked as misclassified No
Message-id <ca471dc20711061059k13802b46m65b65d49d84cdf51@mail.gmail.com>
In-reply-to <4730B093.2020804@cheimes.de>
Content
> In my opinion the check for \r should only happen when os.linesep or
> newline starts with \r. On Unix with standard newline the \r should be
> treated as every other char.

No: it is not dependent on os.linesep but on the newline parameter
passed to open().
It's perfectly valid to want to read a file with CRLF endings on Unix
(Amaury's patches end up in my /tmp directory like that.)
History
Date User Action Args
2007-11-06 18:59:14gvanrossumsetspambayes_score: 0.0124145 -> 0.012414492
recipients: + gvanrossum, amaury.forgeotdarc, draghuram, christian.heimes
2007-11-06 18:59:14gvanrossumlinkissue1395 messages
2007-11-06 18:59:14gvanrossumcreate