[issue23401] Add pickle support of Mapping views

Raymond Hettinger report at bugs.python.org
Sun Jun 5 20:05:17 EDT 2016


Raymond Hettinger added the comment:

> Raymond, what is your opinion?

Whether and how to pickle should be at the discretion of a concrete class rather than a requirement for being a mapping.  For example, it may not make any sense for a persistent dictionary such as a FileDict or an SQLDict.  Also, my mental model of a mapping view is something that is transparent, a window to the world rather than the world itself.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23401>
_______________________________________


More information about the Python-bugs-list mailing list