Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Dev

Edit the rejected PEP 416 (frozendict) to mention the newly added types.MappingProxyType

 

 

Python dev RSS feed   Index | Next | Previous | View Threaded


victor.stinner at gmail

Apr 15, 2012, 3:28 PM

Post #1 of 2 (94 views)
Permalink
Edit the rejected PEP 416 (frozendict) to mention the newly added types.MappingProxyType

Hi,

The frozendict (PEP 416) was rejected, but I just added the
types.MappingProxyType. This type is not new, it existed since Python
2.2 as the internal dict_proxy type. See also the issue #14386.

I would like to know if I can edit the rejected PEP, or if Guido
prefers to do it, to mention the new type? The "Rejection Notice"
section currently ends with "On the other hand, exposing the existing
read-only dict proxy as a built-in type sounds good to me. (It would
need to be changed to allow calling the constructor.) GvR."

Victor
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


guido at python

Apr 15, 2012, 3:54 PM

Post #2 of 2 (97 views)
Permalink
Re: Edit the rejected PEP 416 (frozendict) to mention the newly added types.MappingProxyType [In reply to]

Go ahead and update the PEP!

On Sunday, April 15, 2012, Victor Stinner wrote:

> Hi,
>
> The frozendict (PEP 416) was rejected, but I just added the
> types.MappingProxyType. This type is not new, it existed since Python
> 2.2 as the internal dict_proxy type. See also the issue #14386.
>
> I would like to know if I can edit the rejected PEP, or if Guido
> prefers to do it, to mention the new type? The "Rejection Notice"
> section currently ends with "On the other hand, exposing the existing
> read-only dict proxy as a built-in type sounds good to me. (It would
> need to be changed to allow calling the constructor.) GvR."
>
> Victor
> _______________________________________________
> Python-Dev mailing list
> Python-Dev [at] python <javascript:;>
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/guido%40python.org
>


--
--Guido van Rossum (python.org/~guido)

Python dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.