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/2001-March/013450.html below:

[Python-Dev] Deprecating locals() (was Re: nested scopes and global: some corner cases)

[Python-Dev] Deprecating locals() (was Re: nested scopes and global: some corner cases) [Python-Dev] Deprecating locals() (was Re: nested scopes and global: some corner cases)Samuele Pedroni pedroni@inf.ethz.ch
Mon, 12 Mar 2001 02:34:52 +0100
Hi.

[GvR]
> Actually, I intend to deprecate locals().  For now, globals() are
> fine.  I also intend to deprecate vars(), at least in the form that is
> equivalent to locals().
>
That's fine for me. Will that deprecation be already active with 2.1, e.g
having locals() and param-less vars() raise a warning.
I imagine a (new) function that produce a snap-shot of the values in the
local,free and
cell vars of a scope can do the job required for simple debugging (the copy
will not allow
to modify back the values), or another approach...

regards, Samuele Pedroni




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