[issue8630] Keepends param in codec readline(s)

2010-05-06 Thread André M . C . Campos
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

[issue8630] Keepends param in codec readline(s)

2010-05-06 Thread André M . C . Campos
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

[issue8630] Keepends param in codec readline(s)

2010-05-05 Thread André M . C . Campos
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