[Python-Dev] Re: file() or open()?
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
More information about the Python-Dev