Message57171
Guido van Rossum wrote:
> IMO you shouldn't read another chunk when the last character you've seen
> is \r; instead, you should set a flag so that on the next read, you'll
> ignore an initial \n. The flag should be made of the tell/seek state as
> well.
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.
Christian |
|
| Date |
User |
Action |
Args |
| 2007-11-06 18:21:09 | christian.heimes | set | spambayes_score: 0.00642772 -> 0.00642772 recipients:
+ christian.heimes, gvanrossum, amaury.forgeotdarc, draghuram |
| 2007-11-06 18:21:09 | christian.heimes | link | issue1395 messages |
| 2007-11-06 18:21:09 | christian.heimes | create | |
|