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.17:43:35
SpamBayes Score 0.027850842
Marked as misclassified No
Message-id <1194371015.45.0.540723310693.issue1395@psf.upfronthosting.co.za>
In-reply-to
Content
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.

(The problem with reading another character is that in interactive input
mode, this might force the user to type an entire second line.)
History
Date User Action Args
2007-11-06 17:43:35gvanrossumsetspambayes_score: 0.0278508 -> 0.027850842
recipients: + gvanrossum, amaury.forgeotdarc, draghuram, christian.heimes
2007-11-06 17:43:35gvanrossumsetspambayes_score: 0.0278508 -> 0.0278508
messageid: <1194371015.45.0.540723310693.issue1395@psf.upfronthosting.co.za>
2007-11-06 17:43:35gvanrossumlinkissue1395 messages
2007-11-06 17:43:35gvanrossumcreate