[Python-Dev] outstanding items for 2.5
Aahz
aahz at pythoncraft.com
Tue Apr 4 22:34:38 CEST 2006
On Mon, Apr 03, 2006, Guido van Rossum wrote:
>
> Done. What exactly do you plan to do apart from editing the docs to
> steer people away from file()?
For the initial checkin, the dirt-simple:
def open(filename, *args, **kwargs):
return file(filename, *args, **kwargs)
At this point, the sole purpose is to kill open() as a simple alias for
file() and turn it into a factory function that can be documented
separately (and have its own help() info). Further extensions can be
done later. Because this is file I/O, there is no reason to even think
of performance improvements in the call.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"Look, it's your affair if you want to play with five people, but don't
go calling it doubles." --John Cleese anticipates Usenet
More information about the Python-Dev
mailing list