You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
frozendict_builtins.patch: make CPython supports frozendict for the __builtins__ mapping. It is an example of frozendict usage which helps my pysandbox project.
Activity
vstinner commentedon Feb 29, 2012
Patch to implement the PEP-416.
vstinner commentedon Feb 29, 2012
There is no documentation update yet.
vstinner commentedon Mar 1, 2012
frozendict_builtins.patch: make CPython supports frozendict for the __builtins__ mapping. It is an example of frozendict usage which helps my pysandbox project.
[-]Implementation of the PEP 416 (Add a builtin frozendict type)[/-][+]PEP 416: Add a builtin frozendict type[/+]vstinner commentedon Mar 1, 2012
Another frozendict usage example: freeze the dict of a new type if it contains __final__ in its namespace.
Example:
This patch is not part of the PEP-416 and is just a proof-of-concept.
vstinner commentedon Mar 26, 2012
The PEP has been rejected. See issue bpo-14386 for a new mappingview type.
pythongh-58370 Document and test frozendict class matching behaviour