#16275: Hom: introduce a check argument to simplify the unpickling detection 
logic
-------------------------------------+-------------------------------------
       Reporter:  nthiery            |        Owner:
           Type:  enhancement        |       Status:  new
       Priority:  major              |    Milestone:  sage-6.2
      Component:  categories         |   Resolution:
       Keywords:  homset, pickling   |    Merged in:
        Authors:  Nicolas M. ThiƩry  |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  
u/nthiery/hom__introduce_a_check_argument_to_simplify_the_unpickling_detection_logic|
  ae3ca8080a8412891722695d1e24e1dfe374d787
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by nthiery):

 Replying to [comment:10 SimonKing]:
 > With the current branch, `sage -t src/sage/modular/abvar/homspace.py`
 fails:
 > {{{
 > sage -t src/sage/modular/abvar/homspace.py
 > **********************************************************************
 > File "src/sage/modular/abvar/homspace.py", line 762, in
 sage.modular.abvar.homspace.EndomorphismSubring.__init__
 > Failed example:
 >     E.__reduce__()
 > Expected:
 >     (<function Hom at ...>,
 >      (Abelian variety J0(11) of dimension 2,
 >       Abelian variety J0(11) of dimension 2,
 >       Category of modular abelian varieties over Rational Field,
 >      False))
 > Got:
 >     (<function Hom at 0x9793dbc>, (Abelian variety J0(11) of dimension
 1, Abelian variety J0(11) of dimension 1, Category of modular abelian
 varieties over Rational Field, False))
 > }}}
 > Hopefully this is just a trivial typo (2 instead of 1). I'll try to fix
 that in my review patch.

 Oops, yes, just a typo. When moving around the example, I changed the
 J0(31) to E=J0(11), and forgot to update the doctest. Thanks.

--
Ticket URL: <http://trac.sagemath.org/ticket/16275#comment:15>
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.

Reply via email to