#19150: Moving lyndon_word.py in sage.combinat.words
-------------------------------------+-------------------------------------
Reporter: nadialafreniere | Owner:
Type: defect | Status: needs_work
Priority: minor | Milestone: sage-6.9
Component: combinatorics | Resolution:
Keywords: Lyndon words, | Merged in:
days69 | Reviewers:
Authors: Nadia Lafrenière | Work issues:
Report Upstream: N/A | Commit:
Branch: | 266ec7fb89615c668e9bf4c139374f5b66f2aa03
u/nadialafreniere/moved_lyndon | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Changes (by jdemeyer):
* status: needs_review => needs_work
Comment:
There is a doctest failure (don't ask me exactly why):
{{{
sage -t --long src/sage/structure/sage_object.pyx
**********************************************************************
File "src/sage/structure/sage_object.pyx", line 1451, 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:858: DeprecationWarning: You unpickled an object which relies
on an old data structure. Save it again to update it, for it may break in
the future.
See http://trac.sagemath.org/18375 for details.
doctest:1: DeprecationWarning: You unpickled an object which relies on
an old data structure. Save it again to update it, for it may break in the
future.
See http://trac.sagemath.org/1000 for details.
* unpickle failure:
load('/home/jdemeyer/.sage/temp/tamiyo/21030/dir_pG8nxg//pickle_jar/_class__sage_combinat_lyndon_word_LyndonWords_evaluation__.sobj')
Traceback (most recent call last):
File "sage/structure/sage_object.pyx", line 1543, in
sage.structure.sage_object.unpickle_all
(build/cythonized/sage/structure/sage_object.c:15114)
object = load(os.path.join(dir,A))
File "sage/structure/sage_object.pyx", line 987, in
sage.structure.sage_object.load
(build/cythonized/sage/structure/sage_object.c:11494)
X = loads(open(filename).read(), compress=compress)
File "sage/structure/sage_object.pyx", line 1341, in
sage.structure.sage_object.loads
(build/cythonized/sage/structure/sage_object.c:13583)
return unpickler.load()
UnpicklingError: NEWOBJ class argument isn't a type object
* unpickle failure:
load('/home/jdemeyer/.sage/temp/tamiyo/21030/dir_pG8nxg//pickle_jar/_class__sage_combinat_lyndon_word_LyndonWords_nk__.sobj')
Traceback (most recent call last):
File "sage/structure/sage_object.pyx", line 1543, in
sage.structure.sage_object.unpickle_all
(build/cythonized/sage/structure/sage_object.c:15114)
object = load(os.path.join(dir,A))
File "sage/structure/sage_object.pyx", line 987, in
sage.structure.sage_object.load
(build/cythonized/sage/structure/sage_object.c:11494)
X = loads(open(filename).read(), compress=compress)
File "sage/structure/sage_object.pyx", line 1341, in
sage.structure.sage_object.loads
(build/cythonized/sage/structure/sage_object.c:13583)
return unpickler.load()
UnpicklingError: NEWOBJ class argument isn't a type object
* unpickle failure:
load('/home/jdemeyer/.sage/temp/tamiyo/21030/dir_pG8nxg//pickle_jar/_class__sage_combinat_lyndon_word_StandardBracketedLyndonWords_nk__.sobj')
Traceback (most recent call last):
File "sage/structure/sage_object.pyx", line 1543, in
sage.structure.sage_object.unpickle_all
(build/cythonized/sage/structure/sage_object.c:15114)
object = load(os.path.join(dir,A))
File "sage/structure/sage_object.pyx", line 987, in
sage.structure.sage_object.load
(build/cythonized/sage/structure/sage_object.c:11494)
X = loads(open(filename).read(), compress=compress)
File "sage/structure/sage_object.pyx", line 1341, in
sage.structure.sage_object.loads
(build/cythonized/sage/structure/sage_object.c:13583)
return unpickler.load()
UnpicklingError: NEWOBJ class argument isn't a type object
doctest:1: DeprecationWarning: This function is only used to unpickle
invalid objects
See http://trac.sagemath.org/18848 for details.
doctest:1: DeprecationWarning: OrderedAlphabet is deprecated; use
Alphabet instead.
See http://trac.sagemath.org/8920 for details.
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.
doctest:1: DeprecationWarning: MatrixSpace_ZZ_2x2 is deprecated.
Please use MatrixSpace(ZZ,2) instead
See http://trac.sagemath.org/17824 for details.
Failed:
_class__sage_combinat_lyndon_word_LyndonWords_evaluation__.sobj
_class__sage_combinat_lyndon_word_LyndonWords_nk__.sobj
_class__sage_combinat_lyndon_word_StandardBracketedLyndonWords_nk__.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 583 objects.
Failed to unpickle 3 objects.
**********************************************************************
File "src/sage/structure/sage_object.pyx", line 1459, 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/jdemeyer/.sage/temp/tamiyo/21030/dir_PjMOnq//pickle_jar/_class__sage_combinat_lyndon_word_LyndonWords_evaluation__.sobj')
Traceback (most recent call last):
File "sage/structure/sage_object.pyx", line 1543, in
sage.structure.sage_object.unpickle_all
(build/cythonized/sage/structure/sage_object.c:15114)
object = load(os.path.join(dir,A))
File "sage/structure/sage_object.pyx", line 987, in
sage.structure.sage_object.load
(build/cythonized/sage/structure/sage_object.c:11494)
X = loads(open(filename).read(), compress=compress)
File "sage/structure/sage_object.pyx", line 1341, in
sage.structure.sage_object.loads
(build/cythonized/sage/structure/sage_object.c:13583)
return unpickler.load()
UnpicklingError: NEWOBJ class argument isn't a type object
* unpickle failure:
load('/home/jdemeyer/.sage/temp/tamiyo/21030/dir_PjMOnq//pickle_jar/_class__sage_combinat_lyndon_word_LyndonWords_nk__.sobj')
Traceback (most recent call last):
File "sage/structure/sage_object.pyx", line 1543, in
sage.structure.sage_object.unpickle_all
(build/cythonized/sage/structure/sage_object.c:15114)
object = load(os.path.join(dir,A))
File "sage/structure/sage_object.pyx", line 987, in
sage.structure.sage_object.load
(build/cythonized/sage/structure/sage_object.c:11494)
X = loads(open(filename).read(), compress=compress)
File "sage/structure/sage_object.pyx", line 1341, in
sage.structure.sage_object.loads
(build/cythonized/sage/structure/sage_object.c:13583)
return unpickler.load()
UnpicklingError: NEWOBJ class argument isn't a type object
* unpickle failure:
load('/home/jdemeyer/.sage/temp/tamiyo/21030/dir_PjMOnq//pickle_jar/_class__sage_combinat_lyndon_word_StandardBracketedLyndonWords_nk__.sobj')
Traceback (most recent call last):
File "sage/structure/sage_object.pyx", line 1543, in
sage.structure.sage_object.unpickle_all
(build/cythonized/sage/structure/sage_object.c:15114)
object = load(os.path.join(dir,A))
File "sage/structure/sage_object.pyx", line 987, in
sage.structure.sage_object.load
(build/cythonized/sage/structure/sage_object.c:11494)
X = loads(open(filename).read(), compress=compress)
File "sage/structure/sage_object.pyx", line 1341, in
sage.structure.sage_object.loads
(build/cythonized/sage/structure/sage_object.c:13583)
return unpickler.load()
UnpicklingError: NEWOBJ class argument isn't a type object
Failed:
_class__sage_combinat_lyndon_word_LyndonWords_evaluation__.sobj
_class__sage_combinat_lyndon_word_LyndonWords_nk__.sobj
_class__sage_combinat_lyndon_word_StandardBracketedLyndonWords_nk__.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 583 objects.
Failed to unpickle 3 objects.
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/19150#comment:18>
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.