[Python-Dev] Re: file() or open()? (original) (raw)

orbitz orbitz at ezabel.com
Wed Jul 7 22:49:33 CEST 2004


I considered more as the action being performed. I'm opening something, in this case a file. And now I have an object which has been opened, I can perform operations on it, and when I'm done I close it. Terry Reedy wrote:

"François Pinard" <pinard at iro.umontreal.ca> wrote in message news:20040707183033.GA30577 at alcyon.progiciels-bpi.ca...

I perceived the introduction of `file()' as a nice cleanup in Python.

As a user, so did I. I like the cosistency of using file along with int, tuple, list, dict, type, (and did I leave out something), and all user classes as constructors of instances of themselves. Terry J. Reedy


Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/orbitz%40drorbitz.ath.cx



More information about the Python-Dev mailing list