Author jfinkels
Recipients benjamin.peterson, jfinkels, lemburg, nyamatongwe, pitrou, vstinner
Date 2010-10-01.16:20:55
SpamBayes Score 2.28027e-07
Marked as misclassified No
Message-id <>
This seems to be because codecs.StreamReader.readlines() function does this:

    def readlines(self, sizehint=None, keepends=True):
        data =
        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().
Date User Action Args
2010-10-01 16:20:59jfinkelssetrecipients: + jfinkels, lemburg, nyamatongwe, pitrou, vstinner, benjamin.peterson
2010-10-01 16:20:58jfinkelssetmessageid: <>
2010-10-01 16:20:57jfinkelslinkissue6664 messages
2010-10-01 16:20:57jfinkelscreate