Raymond Hettinger added the comment: > So I guess my questions now are; > > 1. Should types.MappingProxyType be pickleable? > 2. Should there be some documentation about the intended use of > MappingProxyType? > > I imagine the answer to the first question is "no" given > how `__setstate__` works.
For the second question, I don't think so. AFAICT the only intention was to support the actual mapping views for regular dicts. Its likely that not much thought was given to other uses, so it doesn't make sense to document intention when none really exists ;-) Given the answers above and that you have a PR solve your upstream issue with Schematics, can this bug report be closed? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue31209> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com