[ python-Bugs-1048865 ] codecs.StreamReader.readlines() broken
SourceForge.net
noreply at sourceforge.net
Mon Oct 18 01:52:33 CEST 2004
Bugs item #1048865, was opened at 2004-10-18 06:40
Message generated for change (Comment added) made by perky
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1048865&group_id=5470
Category: Python Library
Group: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Thomas Waldmann (thomaswaldmann)
>Assigned to: Hye-Shik Chang (perky)
Summary: codecs.StreamReader.readlines() broken
Initial Comment:
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.
----------------------------------------------------------------------
>Comment By: Hye-Shik Chang (perky)
Date: 2004-10-18 08:52
Message:
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
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1048865&group_id=5470
More information about the Python-bugs-list
mailing list