[issue16598] Docs: double newlines printed in some file iteration examples

2012-12-08 Thread Andrew Svetlov
Andrew Svetlov added the comment: Committed, except whatsnew files. That ones should be untouched from my perspective — the issue is not bugfix but improvement and I see no reason why we need to backedit whatsnew for old outdated versions. Changesetes fed7306f26ce, 268ead8ae46b, 9e4b003a4d7a, 2

[issue16598] Docs: double newlines printed in some file iteration examples

2012-12-07 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue16598] Docs: double newlines printed in some file iteration examples

2012-12-02 Thread Steven Kryskalla
Changes by Steven Kryskalla : Added file: http://bugs.python.org/file28193/r80694.py27.patch ___ Python tracker ___ ___ Python-bugs-list maili

[issue16598] Docs: double newlines printed in some file iteration examples

2012-12-02 Thread Steven Kryskalla
Changes by Steven Kryskalla : Removed file: http://bugs.python.org/file28192/r80699.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue16598] Docs: double newlines printed in some file iteration examples

2012-12-02 Thread Steven Kryskalla
Changes by Steven Kryskalla : -- versions: +Python 2.7 Added file: http://bugs.python.org/file28192/r80699.patch ___ Python tracker ___ __

[issue16598] Docs: double newlines printed in some file iteration examples

2012-12-02 Thread Steven Kryskalla
New submission from Steven Kryskalla: I heard someone complain about this code appearing in the official documentation in a few places: for line in open("file.txt"): print(line) This code will print two newlines. I went through the current "default" and "2.7" branches and changed the plac