[Python-Dev] Add a "transformdict" to collections

Serhiy Storchaka storchaka at gmail.com
Wed Sep 11 17:37:24 CEST 2013

11.09.13 16:50, Stephen J. Turnbull написав(ла):
> Which modules in the stdlib would benefit from rewriting using
> "transformdict"?  How about on PyPI?

At least _threading_local, cProfile, doctest, json, and perhaps future 
implementations of __sizeof__ for some classes would benefit from 
rewriting using IdentityDict. Unfortunately copy and pickle expose their 
replacements of IdentityDict to public and can't change them.

I don't known anything about general TransformDict use cases.

More information about the Python-Dev mailing list