#10962: Set_PythonType objects are not picklable
-------------------------------------+-------------------------------------
Reporter: stumpc5 | Owner: was
Type: defect | Status: needs_review
Priority: major | Milestone:
Component: pickling | Resolution:
Keywords: | Merged in:
Authors: Vincent Delecroix | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/vdelecroix/10962 | 97f39849ff27767c6a99608d3a29db9b5738ae01
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by vdelecroix):
I got a strange error from the pickle jar. Could anyone perform the test?
{{{
sage -t --long structure/sage_object.pyx
**********************************************************************
File "structure/sage_object.pyx", line 1431, in
sage.structure.sage_object.unpickle_all
Failed example:
sage.structure.sage_object.unpickle_all() # (4s on sage.math, 2011)
Expected:
doctest:... DeprecationWarning: ...
See http://trac.sagemath.org/... for details.
Successfully unpickled ... objects.
Failed to unpickle 0 objects.
Got:
doctest:1: DeprecationWarning: OrderedAlphabet is deprecated; use
Alphabet instead.
See http://trac.sagemath.org/8920 for details.
doctest:850: DeprecationWarning: This class is replaced by
Matrix_modn_dense_float/Matrix_modn_dense_double.
See http://trac.sagemath.org/4260 for details.
* unpickle failure:
load('/home/vincent/.sage/temp/mangouste/23352/dir_D94KcT//pickle_jar/_class__sage_groups_matrix_gps_matrix_group_element_MatrixGroupElement__.sobj')
doctest:1: DeprecationWarning: gen_py.pari is deprecated, use
sage.libs.pari.all.pari instead
See http://trac.sagemath.org/17451 for details.
doctest:632: DeprecationWarning: The "pari_mod" finite field
implementation is deprecated
See http://trac.sagemath.org/17297 for details.
Failed:
_class__sage_groups_matrix_gps_matrix_group_element_MatrixGroupElement__.sobj
----------------------------------------------------------------------
** This error is probably due to an old pickle failing to unpickle.
** See sage.structure.sage_object.register_unpickle_override for
** how to override the default unpickling methods for (old) pickles.
** NOTE: pickles should never be removed from the pickle_jar!
----------------------------------------------------------------------
Successfully unpickled 585 objects.
Failed to unpickle 1 objects.
**********************************************************************
File "structure/sage_object.pyx", line 1439, in
sage.structure.sage_object.unpickle_all
Failed example:
sage.structure.sage_object.unpickle_all()
Expected:
Successfully unpickled ... objects.
Failed to unpickle 0 objects.
Got:
* unpickle failure:
load('/home/vincent/.sage/temp/mangouste/23352/dir_VbqHGc//pickle_jar/_class__sage_groups_matrix_gps_matrix_group_element_MatrixGroupElement__.sobj')
Failed:
_class__sage_groups_matrix_gps_matrix_group_element_MatrixGroupElement__.sobj
----------------------------------------------------------------------
** This error is probably due to an old pickle failing to unpickle.
** See sage.structure.sage_object.register_unpickle_override for
** how to override the default unpickling methods for (old) pickles.
** NOTE: pickles should never be removed from the pickle_jar!
----------------------------------------------------------------------
Successfully unpickled 585 objects.
Failed to unpickle 1 objects.
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/10962#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.