[Python-Dev] Next version of PEP278 - universal newline support - available

Greg Ewing greg@cosc.canterbury.ac.nz
2002年3月14日 13:27:56 +1300 (NZDT)


jack wrote:
> - open(filename, 'U') is now the way to open files for universal 
> newline reading because 't' may have a use on Windows;

Might be confusing, as it looks like it might have
something to do with Unicode.
How about 'N'?
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	 | A citizen of NewZealandCorp, a	 |
Christchurch, New Zealand	 | wholly-owned subsidiary of USA Inc. |
greg@cosc.canterbury.ac.nz	 +--------------------------------------+

AltStyle によって変換されたページ (->オリジナル) /