[Patches] Bug in codecs.py
M.-A. Lemburg
mal@lemburg.com
Mon, 01 May 2000 12:08:36 +0200
This is a multi-part message in MIME format.
--------------7F32F59AEC796F5D8F610ECC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Patch Set Contents:
-------------------
Lib/codecs.py:
The two methods .readline() and .readlines() in StreamReaderWriter
didn't define the self argument. Found by Tom Emerson.
--
Marc-Andre Lemburg
______________________________________________________________________
Business: http://www.lemburg.com/
Python Pages: http://www.lemburg.com/python/
--------------7F32F59AEC796F5D8F610ECC
Content-Type: text/plain; charset=us-ascii;
name="Unicode-Implementation-2000-05-01.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="Unicode-Implementation-2000-05-01.patch"
diff -u -rP -x *.o -x *.pyc -x Makefile -x *~ -x *.so -x add2lib -x pgen -x buildno -x config.* -x libpython* -x python -x Setup -x Setup.local -x Setup.thread -x hassignal -x Makefile.pre -x configure -x *.bak -x *.s -x DEADJOE -x *.rej -x *.orig -x Demo -x CVS -x Doc -x *.orig -x .#* -x distutils -x PC -x PCbuild -x *.c -x *.h -x *.in -x output CVS-Python/Lib/codecs.py Python+Unicode/Lib/codecs.py
--- CVS-Python/Lib/codecs.py Thu Apr 13 18:10:57 2000
+++ Python+Unicode/Lib/codecs.py Mon May 1 11:54:03 2000
@@ -324,11 +324,11 @@
return self.reader.read(size)
- def readline(size=None):
+ def readline(self, size=None):
return self.reader.readline(size)
- def readlines(sizehint=None):
+ def readlines(self, sizehint=None):
return self.reader.readlines(sizehint)
Only in CVS-Python/Lib/test: test_winsound.py
--------------7F32F59AEC796F5D8F610ECC--