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 MartyMacGyver
Recipients MartyMacGyver, akshaysharma096, docs@python
Date 2018-04-08.23:41:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1523230900.92.0.682650639539.issue33239@psf.upfronthosting.co.za>
In-reply-to
Content
The correction of `buffering=None` --> `buffering=-1` for the defaults definitely needs to happen.

A reference to `open()` is already present in the 3.x documentation: "buffering, encoding and newline are interpreted as for open()."

Given that the `open()` reference already suffices for `encoding` and `newline`, it ought to suffice for `buffering` as well. No extra text beyond that should be necessary (I originally thought that might be good to add, but looking at this now it's clear if you add more to describe `buffering` you'll need to add it for the other two options, and it's all duplicative. Fixing the defaults should suffice.)
History
Date User Action Args
2018-04-08 23:41:40MartyMacGyversetrecipients: + MartyMacGyver, docs@python, akshaysharma096
2018-04-08 23:41:40MartyMacGyversetmessageid: <1523230900.92.0.682650639539.issue33239@psf.upfronthosting.co.za>
2018-04-08 23:41:40MartyMacGyverlinkissue33239 messages
2018-04-08 23:41:40MartyMacGyvercreate