Message117812
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(). |
|
Date |
User |
Action |
Args |
2010-10-01 16:20:59 | jfinkels | set | recipients:
+ jfinkels, lemburg, nyamatongwe, pitrou, vstinner, benjamin.peterson |
2010-10-01 16:20:58 | jfinkels | set | messageid: <1285950058.75.0.118512183578.issue6664@psf.upfronthosting.co.za> |
2010-10-01 16:20:57 | jfinkels | link | issue6664 messages |
2010-10-01 16:20:57 | jfinkels | create | |
|