#5985: [with patch, needs review] cPickle: adds support for class pickling
customization
---------------------+------------------------------------------------------
Reporter: nthiery | Owner: nthiery
Type: defect | Status: new
Priority: major | Milestone: sage-4.0
Component: misc | Keywords: cPickle, pickling classes
---------------------+------------------------------------------------------
Changes (by nthiery):
* milestone: => sage-4.0
Old description:
New description:
The first patch imports the vanilla cPickle.c and test_cpickle.py
from python 2.5.2.p9 as sage.misc.cPickle, and updates accordingly the
cPickle imports throughout the sage library.
The second patch makes a very small modification to cPickle to allow
for customizing how class are pickled via metaclasses.
See discussions on:
-
http://groups.google.com/group/comp.lang.python/browse_thread/thread/66c282afc04aa39c/
- http://groups.google.com/group/sage-
devel/browse_thread/thread/583048dc7d373d6a/
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5985#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---