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 scott.dial
Recipients kevinwatters, rmore, rtucker, scott.dial
Date 2009-10-01.07:37:14
SpamBayes Score 1.8844926e-06
Marked as misclassified No
Message-id <1254382636.77.0.388623235109.issue5949@psf.upfronthosting.co.za>
In-reply-to
Content
It would seem the logical patch would be to return the line when the
empty string is returned. This would fall in line with the behavior of
other objects with a readline() in python. In following with that, the
patch I have attached returns a truncated line. Therein, the _get_line()
implementation needs to actually check for the correct termination of
the line (it's arguably a bug as it is, just chucking away the last two
characters blindly).
History
Date User Action Args
2009-10-01 07:37:16scott.dialsetrecipients: + scott.dial, kevinwatters, rmore, rtucker
2009-10-01 07:37:16scott.dialsetmessageid: <1254382636.77.0.388623235109.issue5949@psf.upfronthosting.co.za>
2009-10-01 07:37:15scott.diallinkissue5949 messages
2009-10-01 07:37:14scott.dialcreate