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 jfinkels
Recipients benjamin.peterson, jfinkels, lemburg, nyamatongwe, pitrou, vstinner
Date 2010-10-01.16:20:55
SpamBayes Score 2.280266e-07
Marked as misclassified No
Message-id <1285950058.75.0.118512183578.issue6664@psf.upfronthosting.co.za>
In-reply-to
Content
This seems to be because codecs.StreamReader.readlines() function does this:

    def readlines(self, sizehint=None, keepends=True):
        data = self.read()
        return data.splitlines(keepends)

But the io readlines() functions make multiple calls to readline() instead.

Here is the test case which passes on the codecs readlines() but fails on the io readlines().
History
Date User Action Args
2010-10-01 16:20:59jfinkelssetrecipients: + jfinkels, lemburg, nyamatongwe, pitrou, vstinner, benjamin.peterson
2010-10-01 16:20:58jfinkelssetmessageid: <1285950058.75.0.118512183578.issue6664@psf.upfronthosting.co.za>
2010-10-01 16:20:57jfinkelslinkissue6664 messages
2010-10-01 16:20:57jfinkelscreate