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 draghuram
Recipients amaury.forgeotdarc, christian.heimes, draghuram, gvanrossum
Date 2007-11-06.17:52:23
SpamBayes Score 0.08144653
Marked as misclassified No
Message-id <2c51ecee0711060952i68c7f354r814c51af7897bf29@mail.gmail.com>
In-reply-to <1194367910.86.0.84550784944.issue1395@psf.upfronthosting.co.za>
Content
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.
History
Date User Action Args
2007-11-06 17:52:24draghuramsetspambayes_score: 0.0814465 -> 0.08144653
recipients: + draghuram, gvanrossum, amaury.forgeotdarc, christian.heimes
2007-11-06 17:52:23draghuramlinkissue1395 messages
2007-11-06 17:52:23draghuramcreate