Message57176
> 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.) |
|
| Date |
User |
Action |
Args |
| 2007-11-06 18:59:14 | gvanrossum | set | spambayes_score: 0.0124145 -> 0.0124145 recipients:
+ gvanrossum, amaury.forgeotdarc, draghuram, christian.heimes |
| 2007-11-06 18:59:14 | gvanrossum | link | issue1395 messages |
| 2007-11-06 18:59:14 | gvanrossum | create | |
|