[Python-ideas] Have dict().update() return its own reference.

Paul Moore p.f.moore at gmail.com
Fri Apr 20 23:41:42 CEST 2012

On 20 April 2012 20:49, Masklinn <masklinn at masklinn.net> wrote:
> If they're huge mappings, you probably don't want to go around copying
> them either way[0] and would instead use more custom mappings, either
> some sort of joining proxy or something out of Okasaki (a clojure-style
> tree-based map with structural sharing for instance)

Python 3.3 has collections.ChainMap for this sort of case.


More information about the Python-ideas mailing list