[issue6301] Error in tutorial section 7.2

2009-09-13 Thread Michael Foord
Michael Foord added the comment: Committed revision 74779. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue6301] Error in tutorial section 7.2

2009-06-18 Thread Philip Jenvey
Philip Jenvey added the comment: Jython 2.5 behaves in the same way -- nosy: +pjenvey ___ Python tracker ___ ___ Python-bugs-list mail

[issue6301] Error in tutorial section 7.2

2009-06-18 Thread Michael Foord
Michael Foord added the comment: This behavior of Python when reading files is so fundamental that I can't imagine Jython doesn't behave the same way. (IronPython certainly has the same behavior.) -- ___ Python tracker

[issue6301] Error in tutorial section 7.2

2009-06-18 Thread david
david added the comment: If this is like to be non-portable to jPython, I'd like to be told. However, I can see that the tutorial may be the wrong place to mention that. -- ___ Python tracker

[issue6301] Error in tutorial section 7.2

2009-06-18 Thread Michael Foord
Michael Foord added the comment: The wording as it stands just seems plain wrong. Either "Python on Windows" or "On Windows" is better - the former over the latter but either... -- nosy: +michael.foord ___ Python tracker

[issue6301] Error in tutorial section 7.2

2009-06-18 Thread Georg Brandl
Georg Brandl added the comment: I'm -0 about that change. However, I'd like to defend the original wording; it is *not* Python that makes the text/binary distinction. Python just calls fopen(), which is what portable C programs are supposed to do, with the mode it is given by the programmer in

[issue6301] Error in tutorial section 7.2

2009-06-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: A small improvement could be made: - Windows makes a distinction between text and binary files + Python on Windows makes a distinction between text and binary files The meaning should have been obvious as-is, but the fact of the matter is that the OP is "go

[issue6301] Error in tutorial section 7.2

2009-06-18 Thread david
david added the comment: So, it's wrong, and it's not helpful unless you already know what it means, but it works for someone who doesn't need the Python tutorial! I'm gobsmacked. If "the C libraries that Python uses" have the concept of Text/Binary, why not just say so? Conversely, if you

[issue6301] Error in tutorial section 7.2

2009-06-17 Thread Georg Brandl
Georg Brandl added the comment: Even if the Win32 API functions do not have a concept of text/binary files, the C library functions that MS provides, and Python uses, have. See http://msdn.microsoft.com/en-us/library/yeby3zcb(VS.71).aspx -- resolution: -> works for me status: open ->

[issue6301] Error in tutorial section 7.2

2009-06-17 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue6301] Error in tutorial section 7.2

2009-06-17 Thread david
New submission from david : 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