[Python-Dev] Proposal for new core module: UserFIle

Phillip J. Eby pje at telecommunity.com
Thu Dec 11 17:51:39 EST 2003

At 02:37 PM 12/11/03 -0800, Keith Dart wrote:
>This module lets you explicitly create a text data file for any
>platform. The universal newline feature of python is for Python modules
>only, and lets you transparently import and exec Python source files
>with the different line ending formats. That is a different thing.

Not so.  See:


under 'file()', which notes that 'U' or 'rU' enable universal newline mode 
for any input file.

More information about the Python-Dev mailing list