#9944: categories for polynomial rings
--------------------------------------------+-------------------------------
    Reporter:  robertwb                     |         Owner:  nthiery           
                         
        Type:  defect                       |        Status:  needs_work        
                         
    Priority:  major                        |     Milestone:  sage-4.7.1        
                         
   Component:  categories                   |    Resolution:                    
                         
    Keywords:                               |   Work_issues:                    
                         
    Upstream:  N/A                          |      Reviewer:  Nicolas M. 
ThiƩry, Mike Hansen, Martin Raum
      Author:  Robert Bradshaw, Simon King  |        Merged:                    
                         
Dependencies:  sage-4.7 + #11139            |  
--------------------------------------------+-------------------------------

Comment(by SimonKing):

 Replying to [comment:64 mraum]:
 > So far I read till sage/rings/polynomial/laurent_polynomial_ring.py in
 the order that the patch is printed. Only one issue here:
 > in free_module_homspace.py l.128 (new counting) a doctest is missing
 that checks that passing a function works fine.

 It '''is''' tested. The patch has added the following test:
 {{{

             sage: V = span([[1/2,1,1],[3/2,2,1],[0,0,1]],ZZ)
             sage: V.Hom(V).zero()
             Free module morphism defined by the matrix
             [0 0 0]
             [0 0 0]
             [0 0 0]
             Domain: Free module of degree 3 and rank 3 over Integer Ring
             Echelon ...
             Codomain: Free module of degree 3 and rank 3 over Integer Ring
             Echelon ...
 }}}
 In unpatched sage-4.7.alpha5, you would get
 {{{
 ERROR: An unexpected error occurred while tokenizing input
 The following traceback may be corrupted or invalid
 The error message is: ('EOF in multi-line statement', (396, 0))

 ERROR: An unexpected error occurred while tokenizing input
 The following traceback may be corrupted or invalid
 The error message is: ('EOF in multi-line statement', (6924, 0))

 ---------------------------------------------------------------------------
 TypeError                                 Traceback (most recent call
 last)
 ...
 TypeError: 'function' object is not iterable
 }}}

 > Simon, if you rebase this, could you also upload a diff file for the new
 and old patch? That would make my and possibly the life of all others
 easier.

 OK.

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

Reply via email to