#9630: Python ints should have a conversion to Maxima
--------------------------+-------------------------------------------------
    Reporter:  kcrisman   |         Owner:  burcin                         
        Type:  defect     |        Status:  closed                         
    Priority:  major      |     Milestone:  sage-duplicate/invalid/wontfix 
   Component:  symbolics  |    Resolution:  duplicate                      
    Keywords:             |   Work_issues:                                 
    Upstream:  N/A        |      Reviewer:  Michael Orlitzky, Burcin Erocal
      Author:             |        Merged:                                 
Dependencies:             |  
--------------------------+-------------------------------------------------
Changes (by jdemeyer):

  * status:  positive_review => closed
  * resolution:  => duplicate


Old description:

> I don't know how this might be done, but
> {{{
> for n in range(1,10):
>     sum(k, k, 1, n)
> }}}
> doesn't work, while
> {{{
> for n in [1..10]:
>     sum(k,k,1,n)
> }}}
> does.  We need to fix
> {{{
> int(3)._maxima_()
> AttributeError: 'int' object has no attribute '_maxima_'
> }}}

New description:

 I don't know how this might be done, but
 {{{
 for n in range(1,10):
     sum(k, k, 1, n)
 }}}
 doesn't work, while
 {{{
 for n in [1..10]:
     sum(k,k,1,n)
 }}}
 does.  We need to fix
 {{{
 int(3)._maxima_()
 AttributeError: 'int' object has no attribute '_maxima_'
 }}}

 Duplicate of #9393.

--

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