Message57169
On 11/6/07, Amaury Forgeot d'Arc <report@bugs.python.org> wrote:
> - it reads a complete chunk for just one more byte
> - the re-read should be disabled when lineends are not translated
> these two are minor annoyance and can be easily corrected, but:
>
> - there is no limit to the re-read; it can exhaust the memory if the
> source is a big file with many \r (like a Mac text file)
Yes. reading another chunk is not an optimal solution but after seeing
Guido's comment, I now agree that I shouldn't try to read at all. I
will work on modifications.
> I will try to write these test cases if you want.
That will definitely be useful. |
|
| Date |
User |
Action |
Args |
| 2007-11-06 17:52:24 | draghuram | set | spambayes_score: 0.0814465 -> 0.0814465 recipients:
+ draghuram, gvanrossum, amaury.forgeotdarc, christian.heimes |
| 2007-11-06 17:52:23 | draghuram | link | issue1395 messages |
| 2007-11-06 17:52:23 | draghuram | create | |
|