This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年06月07日 03:37 by eric.snow, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| issue15022_pickle.diff | eric.snow, 2012年06月07日 07:36 | review | ||
| Messages (4) | |||
|---|---|---|---|
| msg162453 - (view) | Author: Eric Snow (eric.snow) * (Python committer) | Date: 2012年06月07日 03:37 | |
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. |
|||
| msg162462 - (view) | Author: Eric Snow (eric.snow) * (Python committer) | Date: 2012年06月07日 07:36 | |
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. |
|||
| msg182249 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年02月16日 23:42 | |
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 |
|||
| msg182252 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年02月17日 01:25 | |
New changeset e4c065b2db49 by Eric Snow in branch 'default': Issue #15022: Ensure all pickle protocols are supported. http://hg.python.org/cpython/rev/e4c065b2db49 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:31 | admin | set | github: 59227 |
| 2013年02月17日 01:25:49 | python-dev | set | messages: + msg182252 |
| 2013年02月16日 23:46:37 | eric.snow | set | status: open -> closed stage: patch review -> resolved resolution: fixed versions: + Python 3.4, - Python 3.3 |
| 2013年02月16日 23:42:25 | python-dev | set | nosy:
+ python-dev messages: + msg182249 |
| 2012年06月07日 07:36:27 | eric.snow | set | files:
+ issue15022_pickle.diff versions: + Python 3.3 messages: + msg162462 keywords: + needs review, patch stage: needs patch -> patch review |
| 2012年06月07日 03:37:40 | eric.snow | create | |