Brian, > As an FYI, the builtin open() uses io.open() on at least 3.1 (maybe also 3.0, don't know). I don't know your use cases or > what you get or don't get from any of those options, but the future is io.open. > > >>> io.open is open > True
Under Python 2.6.4 (Windows), "io.open is open" returns False. Retrieving help() on io.open and open() reinforces that these are 2 different implementations of open. My use case is reading and writing UTF-8 text files with universal newline support. I believe that the following io.open() parameter list is what I should be using: # mode set to 'rt' (read) or 'wt' (write) io.open( file, mode, encoding='utf-8', errors='ignore', newline=None ) Malcolm
-- http://mail.python.org/mailman/listinfo/python-list