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/2012-October/122102.html below:

[Python-Dev] Should vars() return modifiable dict?

[Python-Dev] Should vars() return modifiable dict? [Python-Dev] Should vars() return modifiable dict?Larry Hastings larry at hastings.org
Fri Oct 5 15:01:02 CEST 2012
On 10/05/2012 01:59 PM, Devin Jeanpierre wrote:
> I've never understood why locals() returned a mutable dictionary
> either, except that Python has no immutable dictionary type.

Ah, but these days it has types.MappingProxyType which provides a 
read-only wrapper around another mapping type.  Perhaps that should be 
employed here.


//arry/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20121005/7aee8a0b/attachment.html>
More information about the Python-Dev mailing list

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