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/010260.html below:

[Python-Dev] statically nested scopes

[Python-Dev] statically nested scopes [Python-Dev] statically nested scopesBarry A. Warsaw barry@wooz.org
Thu, 2 Nov 2000 11:22:32 -0500 (EST)
If we get lexical scoping, there should be a fast (built-in) way to
get at all the accessible names from Python.  I.e. currently I can do

    d = globals().copy()
    d.update(locals())

and know that `d' contains a dictionary of available names, with the
right overloading semantics.  (PEP 42 now includes a feature request
to make vars() do this by default.)

-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