[issue30937] csv module examples miss newline='' when opening files

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: Good catch, Pavel. Thanks! This is now fixed in 3.6 and 3.7 docs. Thanks for the patch, Ammar. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: enhancement -> behavior versions: +Python 3.6 _

[issue30937] csv module examples miss newline='' when opening files

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: New changeset 614ea48986f80d361043510ac3945f3dcd666c31 by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-30937: Make usage of newline='' consistent in csv docs (GH-2730) https://github.com/python/cpython/commit/614ea48986f80d361043510ac3945f3dcd666c3

[issue30937] csv module examples miss newline='' when opening files

2017-10-26 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4094 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue30937] csv module examples miss newline='' when opening files

2017-10-26 Thread Berker Peksag
Berker Peksag added the comment: New changeset 275d2d9c4663a1ea8d1f7c8778567a735b0372c1 by Berker Peksag (Ammar Askar) in branch 'master': bpo-30937: Make usage of newline='' consistent in csv docs (GH-2730) https://github.com/python/cpython/commit/275d2d9c4663a1ea8d1f7c8778567a735b0372c1 --

[issue30937] csv module examples miss newline='' when opening files

2017-07-15 Thread Ammar Askar
Changes by Ammar Askar : -- keywords: +easy, patch stage: -> patch review type: -> enhancement ___ Python tracker ___ ___ Python-bug

[issue30937] csv module examples miss newline='' when opening files

2017-07-15 Thread Ammar Askar
Changes by Ammar Askar : -- pull_requests: +2790 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue30937] csv module examples miss newline='' when opening files

2017-07-15 Thread Pavel
New submission from Pavel: At the very beginning the csv module documentation (https://docs.python.org/3.7/library/csv.html) advises to open files passing newline='' parameter though three examples don't include it: Here are the examples: 1: >>> import csv >>> with open('names.csv') as csvfil