[issue22069] TextIOWrapper(newline="\n", line_buffering=True) mistakenly treat \r as a newline

2018-05-14 Thread Mariatta Wijaya
Change by Mariatta Wijaya : -- resolution: -> fixed ___ Python tracker ___ ___

[issue22069] TextIOWrapper(newline="\n", line_buffering=True) mistakenly treat \r as a newline

2018-05-14 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks! -- stage: patch review -> resolved status: open -> closed versions: +Python 2.7, Python 3.6 ___ Python tracker

[issue22069] TextIOWrapper(newline="\n", line_buffering=True) mistakenly treat \r as a newline

2018-05-14 Thread miss-islington
miss-islington added the comment: New changeset 9fd5b5fdf851d35a5c1314360119850e86a1fd0d by Miss Islington (bot) in branch '3.6': bpo-22069: Update TextIO documentation (GH-6609)

[issue22069] TextIOWrapper(newline="\n", line_buffering=True) mistakenly treat \r as a newline

2018-05-14 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: -pitrou ___ Python tracker ___ ___ Python-bugs-list

[issue22069] TextIOWrapper(newline="\n", line_buffering=True) mistakenly treat \r as a newline

2018-05-14 Thread miss-islington
miss-islington added the comment: New changeset 84fc6c59cf286fc4e6b3a700c6db36ecc2bff92b by Miss Islington (bot) in branch '2.7': bpo-22069: Update TextIO documentation (GH-6609)

[issue22069] TextIOWrapper(newline="\n", line_buffering=True) mistakenly treat \r as a newline

2018-05-14 Thread miss-islington
miss-islington added the comment: New changeset 050e041bf7e5260013a74c75a05a3f0fb16447ec by Miss Islington (bot) in branch '3.7': bpo-22069: Update TextIO documentation (GH-6609)

[issue22069] TextIOWrapper(newline="\n", line_buffering=True) mistakenly treat \r as a newline

2018-05-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +6487 ___ Python tracker ___

[issue22069] TextIOWrapper(newline="\n", line_buffering=True) mistakenly treat \r as a newline

2018-05-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +6486 ___ Python tracker ___

[issue22069] TextIOWrapper(newline="\n", line_buffering=True) mistakenly treat \r as a newline

2018-05-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +6485 ___ Python tracker ___

[issue22069] TextIOWrapper(newline="\n", line_buffering=True) mistakenly treat \r as a newline

2018-05-14 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 7ffd4c58fae08b29259eebd6cbcd2287820b14e8 by Mariatta (Elena Oat) in branch 'master': bpo-22069: Update TextIO documentation (GH-6609) https://github.com/python/cpython/commit/7ffd4c58fae08b29259eebd6cbcd2287820b14e8

[issue22069] TextIOWrapper(newline="\n", line_buffering=True) mistakenly treat \r as a newline

2018-04-26 Thread Elena Oat
Change by Elena Oat : -- keywords: +patch pull_requests: +6305 stage: needs patch -> patch review ___ Python tracker ___

[issue22069] TextIOWrapper(newline="\n", line_buffering=True) mistakenly treat \r as a newline

2018-04-26 Thread Elena Oat
Elena Oat added the comment: Note that the correct link to the test case is: https://github.com/python/cpython/blob/master/Lib/test/test_io.py#L2565 -- nosy: +Elena.Oat ___ Python tracker

[issue22069] TextIOWrapper(newline="\n", line_buffering=True) mistakenly treat \r as a newline

2018-04-25 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +easy stage: -> needs patch versions: +Python 3.7, Python 3.8 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue22069] TextIOWrapper(newline=\n, line_buffering=True) mistakenly treat \r as a newline

2014-07-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22069 ___ ___

[issue22069] TextIOWrapper(newline=\n, line_buffering=True) mistakenly treat \r as a newline

2014-07-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Looks as this behavior is intentional. Documentation should be corrected. -- assignee: - docs@python components: +Documentation nosy: +benjamin.peterson, docs@python, hynek, pitrou, stutzbach ___ Python tracker

[issue22069] TextIOWrapper(newline=\n, line_buffering=True) mistakenly treat \r as a newline

2014-07-25 Thread Akira Li
New submission from Akira Li: TextIOWrapper(b, newline=\n, line_buffering=True) object calls flush() while writing \r. See test_line_buffering() method in Lib/test/test_io.py:2114 The documentation says [1]: If line_buffering is True, flush() is implied when a call to write contains a