#13894: Fix ArithmeticError: 0^0 in rings/finite_rings/integer_mod.pyx
-------------------------------------------------------+--------------------
       Reporter:  mjo                                  |         Owner:  
AlexGhitza  
           Type:  defect                               |        Status:  
needs_review
       Priority:  major                                |     Milestone:  
sage-5.8    
      Component:  algebra                              |    Resolution:         
     
       Keywords:                                       |   Work issues:         
     
Report Upstream:  N/A                                  |     Reviewers:         
     
        Authors:  Michael Orlitzky, Jean-Pierre Flori  |     Merged in:         
     
   Dependencies:                                       |      Stopgaps:         
     
-------------------------------------------------------+--------------------
Changes (by {'newvalue': u'Michael Orlitzky, Jean-Pierre Flori', 'oldvalue': 
u'Michael Orlitzky'}):

  * status:  needs_work => needs_review
  * work_issues:  fix Integers(1) =>
  * author:  Michael Orlitzky => Michael Orlitzky, Jean-Pierre Flori


Old description:

> The few remaining instances of this error are tracked at #13786. In this
> case,
>
> {{{
> sage: R = Integers(100)
> sage: R(0)^0
> ...
> ArithmeticError: 0^0 is undefined.
> }}}

New description:

 The few remaining instances of this error are tracked at #13786. In this
 case,

 {{{
 sage: R = Integers(100)
 sage: R(0)^0
 ...
 ArithmeticError: 0^0 is undefined.
 }}}

 __APPLY__
 * trac_13894-integers_0.patch

--

Comment:

 Maybe we should add a doctest for the cornercase?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13894#comment:3>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to