[issue15022] types.SimpleNamespace needs to be picklable
Eric Snow
report at bugs.python.org
Thu Jun 7 09:36:27 CEST 2012
Eric Snow <ericsnowcurrently at gmail.com> added the comment:
I've attached a patch that gives types.SimpleNamespace pickle support. To do it I had to change the name of the type from "namespace" to "types.SimpleNamespace". That's fine.
I also added __eq__/__ne__ support so I could use it during tests.
----------
keywords: +needs review, patch
stage: needs patch -> patch review
versions: +Python 3.3
Added file: http://bugs.python.org/file25855/issue15022_pickle.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15022>
_______________________________________
More information about the Python-bugs-list
mailing list