-
-
Notifications
You must be signed in to change notification settings - Fork 673
Description
Original implementation:
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.
Final implementation: adds the second patch to the python spkg
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/
Thanks to Mike, Burcin, and Carl for suggestions on how to handle this.
CC: @sagetrac-sage-combinat @sagetrac-cwitty @saliola @burcin @craigcitro
Component: misc
Keywords: cPickle, pickling classes
Author: Craig Citro, Nicolas M. Thiéry
Reviewer: Craig Citro, Nicolas M. Thiéry
Merged: sage-4.2.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/5985