Changes by André M. C. Campos :
Added file: http://bugs.python.org/file17235/codecs.py
___
Python tracker
<http://bugs.python.org/issue8630>
___
___
Python-bugs-list m
André M. C. Campos added the comment:
The parameter would not be a new feature since the codecs docs states that:
"The StreamReaderWriter allows wrapping streams which work in both
read and write modes".
The reader (StreamReader) accepts the parameter, so it's expected that
Str
New submission from André M. C. Campos :
Some methods in StreamReaderWriter class (codecs library) has different
signatures from StreamReader methods. More precisely it's missing the keepends
parameter in readline and readlines methods.
So, we cannot code:
fp = codecs.open(fileName, &quo