[issue15022] types.SimpleNamespace needs to be picklable
Roundup Robot added the comment: New changeset 3b93ab8c9c20 by Eric Snow in branch 'default': Issue #15022: Add pickle and comparison support to types.SimpleNamespace. http://hg.python.org/cpython/rev/3b93ab8c9c20 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15022 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15022] types.SimpleNamespace needs to be picklable
Changes by Eric Snow ericsnowcurren...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15022 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15022] types.SimpleNamespace needs to be picklable
Roundup Robot added the comment: New changeset e4c065b2db49 by Eric Snow in branch 'default': Issue #15022: Ensure all pickle protocols are supported. http://hg.python.org/cpython/rev/e4c065b2db49 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15022 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15022] types.SimpleNamespace needs to be picklable
Eric Snow ericsnowcurren...@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 rep...@bugs.python.org http://bugs.python.org/issue15022 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15022] types.SimpleNamespace needs to be picklable
New submission from Eric Snow ericsnowcurren...@gmail.com: In issue 15003 Raymond recommended that types.SimpleNamespace be picklable. I'll get a patch up as soon as I can to add this capability. -- messages: 162453 nosy: eric.snow priority: normal severity: normal stage: needs patch status: open title: types.SimpleNamespace needs to be picklable type: behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15022 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com