[issue8630] Keepends param in codec readline(s)

2019-03-15 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue8630] Keepends param in codec readline(s)

2014-06-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8630] Keepends param in codec readline(s)

2014-06-22 Thread Jeffrey Falgout
Changes by Jeffrey Falgout : Added file: http://bugs.python.org/file35729/45139b30afef.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue8630] Keepends param in codec readline(s)

2014-06-22 Thread Jeffrey Falgout
Jeffrey Falgout added the comment: Wrote tests -- hgrepos: +259 nosy: +jeffrey.falgout ___ Python tracker ___ ___ Python-bugs-list mail

[issue8630] Keepends param in codec readline(s)

2014-06-15 Thread Mark Lawrence
Mark Lawrence added the comment: As codecs.py has changed I've generated a patch file which adds the missing parameters. I looked at test_codecs.py but could only find one reference to the StreamReaderWriter class in WithStmtTest. I'm sorry but I'll have to leave writing tests for StreamRead

[issue8630] Keepends param in codec readline(s)

2010-05-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: I think this can qualify as a bug fix. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[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 ___ ___ Python-bugs-list mailing list

[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 StreamReaderWriter d

[issue8630] Keepends param in codec readline(s)

2010-05-06 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: André: Could you provide a patch ? Thanks. -- assignee: benjamin.peterson -> ___ Python tracker ___ __

[issue8630] Keepends param in codec readline(s)

2010-05-06 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Benjamin: Would the added parameter be a new feature or not ? It looks like an oversight when adding the parameter to the standard codec classes, so could be viewed as a bug. -- assignee: -> benjamin.peterson nosy: +benjamin.peterson ___

[issue8630] Keepends param in codec readline(s)

2010-05-06 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: We can add those to 3.2. Not sure about 2.7 - it's already in feature freeze. -- versions: +Python 2.7, Python 3.2 -Python 2.6 ___ Python tracker __

[issue8630] Keepends param in codec readline(s)

2010-05-05 Thread R. David Murray
Changes by R. David Murray : -- nosy: +lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[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, "r", "utf-