[issue23401] Add pickle support of Mapping views

Serhiy Storchaka report at bugs.python.org
Fri Feb 6 19:57:34 CET 2015


Serhiy Storchaka added the comment:

Oh, and yet one option:

5) As a list or a tuple. `copyreg.__newobj__, (list,), None, iter(self._mapping.keys())` or `copyreg.__newobj__, (tuple, tuple(self._mapping))`.

----------

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


More information about the Python-bugs-list mailing list