[issue6301] Error in tutorial section 7.2

david report at bugs.python.org
Thu Jun 18 03:14:21 CEST 2009


New submission from david <davix at plasmatronics.com.au>:

http://docs.python.org/tutorial/inputoutput.html#reading-and-writing-
files
"Windows makes a distinction between text and binary files;
"the end-of-line characters in text files are automatically altered
"slightly when data is read or written.

Windows does not make a distinction between text and binary files:
http://msdn.microsoft.com/en-us/library/aa365430(VS.85).aspx
http://msdn.microsoft.com/en-us/library/aa363858(VS.85).aspx
http://msdn.microsoft.com/en-us/library/aa365467(VS.85).aspx

Nor does it automatically alter end-of-line characters.

It is not clear what distinction Python makes between text and binary 
files. Do those options do anything on any platform? Is jPython 
different than cPython? And does Python automatically alter end-of-line 
characters?

----------
assignee: georg.brandl
components: Documentation
messages: 89487
nosy: georg.brandl, melbourne
severity: normal
status: open
title: Error in tutorial section 7.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6301>
_______________________________________


More information about the Python-bugs-list mailing list