A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-April/063408.html below:

[Python-Dev] outstanding items for 2.5

[Python-Dev] outstanding items for 2.5Aahz 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

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