[Python-Dev] [PEP 558] thinking through locals() semantics
Glenn Linderman
v+python at g.nevcal.com
Mon May 27 23:53:55 EDT 2019
More information about the Python-Dev mailing list
Mon May 27 23:53:55 EDT 2019
- Previous message (by thread): [Python-Dev] [PEP 558] thinking through locals() semantics
- Next message (by thread): [Python-Dev] [PEP 558] thinking through locals() semantics
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 5/27/2019 7:28 PM, Steven D'Aprano wrote: > On the other hand, locals() currently returns a dict everywhere. It > might be surprising for it to start returning a proxy object inside > functions instead of a dict. I thought the proxy object sounded more useful... how different is it in use from a dict? "proxy" sounds like it should quack like a dict, as a general term, but maybe a more specific "proxy" is meant here, that doesn't quite quack like a dict? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20190527/1b274ca7/attachment.html>
- Previous message (by thread): [Python-Dev] [PEP 558] thinking through locals() semantics
- Next message (by thread): [Python-Dev] [PEP 558] thinking through locals() semantics
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list