This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Devin Jeanpierre
Recipients Devin Jeanpierre, docs@python
Date 2014-02-21.13:24:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392989047.5.0.441949548663.issue20722@psf.upfronthosting.co.za>
In-reply-to
Content
http://docs.python.org/3.4/library/functions.html#open says "newline controls how universal newlines mode works (it only applies to text mode)."

My reading of this when I saw it was that newline= doesn't do anything unless universal newlines mode is enabled. This is untrue, and you can infer it's untrue from the following lines, but then the docs appear to contradict themselves. Please fix to say something more along the lines of "newline controls how newlines are read and written. It only applies to text mode."

The interactions with universal newlines mode are explained in the following text, so they don't need to be called out upfront. newline does more than just that.
History
Date User Action Args
2014-02-21 13:24:07Devin Jeanpierresetrecipients: + Devin Jeanpierre, docs@python
2014-02-21 13:24:07Devin Jeanpierresetmessageid: <1392989047.5.0.441949548663.issue20722@psf.upfronthosting.co.za>
2014-02-21 13:24:07Devin Jeanpierrelinkissue20722 messages
2014-02-21 13:24:06Devin Jeanpierrecreate