[Python-checkins] CVS: python/nondist/peps pep-0278.txt,1.1,1.2
Jack Jansen
jackjansen@users.sourceforge.net
Tue, 05 Feb 2002 15:50:40 -0800
Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv29706
Modified Files:
pep-0278.txt
Log Message:
Two small clarifications after comments by Detlef Lannart.
Index: pep-0278.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0278.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** pep-0278.txt 2002/01/23 13:24:26 1.1
--- pep-0278.txt 2002/02/05 23:50:38 1.2
***************
*** 41,45 ****
parameter can also be "t", meaning "open for input as a text file
with universal newline interpretation". Mode "t" cannot be
! combined with other mode flags such as "+".
There is no special support for output to file with a different
--- 41,47 ----
parameter can also be "t", meaning "open for input as a text file
with universal newline interpretation". Mode "t" cannot be
! combined with other mode flags such as "+". Any line ending in the
! input file will be seen as a '\n' in Python, so little other code has
! to change to handle universal newlines.
There is no special support for output to file with a different
***************
*** 78,82 ****
with platform-local convention otherwise. The reason for this is
that input is the difficult case, outputting different newlines to
! a file is already easy enough in Python.
While universal newlines are automatically enabled for import they
--- 80,85 ----
with platform-local convention otherwise. The reason for this is
that input is the difficult case, outputting different newlines to
! a file is already easy enough in Python. It would also slow down
! all "normal" Python output, even if only a little.
While universal newlines are automatically enabled for import they