open is not obsolete (was Re: understanding self
ville at spammers.com
Thu Jul 8 02:18:42 CEST 2004
>>>>> "Jeff" == Jeff Shannon <jeff at ccvcorp.com> writes:
Jeff> But wait -- open() is an obsolete built-in function for
Jeff> opening a file. Which should eye.blink() do -- open and
Jeff> close the right eye, or
I'll just like to point out that open() is in no way obsolete, even if
it's aliased to "file". ItÃ's probably intop 5% of builtins in terms
of frequency in existing code, so deprecating it would deprecate
pretty much all the existing python code.
IÃ'm sure Ã¤ll see "print" being deprecated before "open".
Ville Vainio http://tinyurl.com/2prnb
More information about the Python-list