New submission from david <da...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue6301>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to