Guido wrote: > 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(). Samuele Pedroni writes: > 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... Nothing has happened on this front yet. Should I add deprecation notes to the docummentation while Guido is on vacation, or wait to ask him when he gets back? Or was this matter resolved when I wasn't paying attention? -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Digital Creations
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