Issue 1048865: codecs.StreamReader.readlines() broken - Python tracker (original) (raw)
Issue1048865
Created on 2004-10-17 21:40 by thomaswaldmann, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg22735 - (view) | Author: Thomas Waldmann (thomaswaldmann) | Date: 2004-10-17 21:40 |
This is a quite obvious one: $ diff -u codecs.py-orig codecs.py --- codecs.py-orig 2004-10-17 23:30:50.000000000 +0200 +++ codecs.py 2004-10-17 23:31:57.000000000 +0200 @@ -334,7 +334,7 @@ """ data = self.read() - return self.splitlines(keepends) + return data.splitlines(keepends) def reset(self): I am using Python 2.4 beta 1. | ||
msg22736 - (view) | Author: Hyeshik Chang (hyeshik.chang) * ![]() |
Date: 2004-10-17 23:52 |
Logged In: YES user_id=55188 Thanks for the reporting. Fixed in CVS: Lib/codecs.py 1.35 Lib/test/test_codecs.py 1.14 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:07 | admin | set | github: 41038 |
2004-10-17 21:40:55 | thomaswaldmann | create |