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 jaraco
Recipients docs@python, jaraco
Date 2015-07-26.15:20:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In Doc/tutorial/inputoutput.rst, the docs state this about opening a file:

 Normally, files are opened in :dfn:`text mode`, that means, you read and write
 strings from and to the file, which are encoded in a specific encoding (the
 default being UTF-8).

That statement is directly contradicted by the docs for open (Doc/library/functions.rst) which indicate:

 In text mode, if encoding is not specified the encoding used is platform
 dependent: locale.getpreferredencoding(False) is called to get the current
 locale encoding.

The implementation matches the latter indication.
Date User Action Args
2015-07-26 15:20:18jaracosetrecipients: + jaraco, docs@python
2015-07-26 15:20:18jaracosetmessageid: <>
2015-07-26 15:20:18jaracolinkissue24729 messages
2015-07-26 15:20:17jaracocreate