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/2000-November/010347.html below:

[Python-Dev] Re: Dynamic nested scopes

[Python-Dev] Re: Dynamic nested scopes [Python-Dev] Re: Dynamic nested scopesBarry A. Warsaw barry@wooz.org
Fri, 3 Nov 2000 10:45:05 -0500 (EST)
>>>>> "GvR" == Guido van Rossum <guido@python.org> writes:

    GvR> That's up for discussion.  Note that the open() function is
    GvR> special in this respect -- I don't see you doing the same to
    GvR> range() or hash().

Me neither, but special casing overridability seems like a fragile
hack.

    GvR> If this is deemed a useful feature (for open()), we can make
    GvR> a rule about which built-ins you cannot override like this
    GvR> and which ones you can.

Hmm, maybe we need __open__() and an open-hook? ;)

-Barry



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