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 2010年11月05日 14:17 by michael.foord, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| python27.pickle.patch | MarkRoddy, 2010年11月06日 03:21 | review | ||
| python3k.pickle.patch | MarkRoddy, 2010年11月06日 03:22 | review | ||
| Messages (5) | |||
|---|---|---|---|
| msg120496 - (view) | Author: Michael Foord (michael.foord) * (Python committer) | Date: 2010年11月05日 14:17 | |
In Python 2.7 a change was introduced to TestCase which involves storing a dictionary of method objects on TestCase instances. This makes them unpickleable. unittest2 stores strings (method names) instead of method objects (a fix to make TestCase instances copyable under earlier versions of Python). The same fix could be applied to unittest. |
|||
| msg120575 - (view) | Author: Mark Roddy (MarkRoddy) * | Date: 2010年11月06日 03:21 | |
Patch which makes TestCase pickle-able for Python 2.7, includes unit test |
|||
| msg120576 - (view) | Author: Mark Roddy (MarkRoddy) * | Date: 2010年11月06日 03:22 | |
Attaching patch which makes TestCase pickle-able for Python 3.2, includes unit test |
|||
| msg121666 - (view) | Author: Michael Foord (michael.foord) * (Python committer) | Date: 2010年11月20日 15:35 | |
Applied to Python 3.2 in revision 86570. Python 2.7 will have to be fixed after the next release as we are currently in release candidate stage. |
|||
| msg139041 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2011年06月25日 10:16 | |
New changeset 9c337a4c650d by Raymond Hettinger in branch '2.7': Issue 10326: Fix regression to get test cases to pickle again. http://hg.python.org/cpython/rev/9c337a4c650d |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:08 | admin | set | github: 54535 |
| 2011年06月25日 10:18:10 | rhettinger | set | status: open -> closed resolution: fixed |
| 2011年06月25日 10:16:35 | python-dev | set | nosy:
+ python-dev messages: + msg139041 |
| 2010年11月20日 15:35:08 | michael.foord | set | messages: + msg121666 |
| 2010年11月06日 03:22:52 | MarkRoddy | set | files:
+ python3k.pickle.patch messages: + msg120576 |
| 2010年11月06日 03:21:57 | MarkRoddy | set | files:
+ python27.pickle.patch nosy: + MarkRoddy messages: + msg120575 keywords: + patch |
| 2010年11月05日 14:17:27 | michael.foord | create | |