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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4