#17133: Partition().to_exp() should return Sage Integers
----------------------------------+----------------------------
       Reporter:  jdemeyer        |        Owner:
           Type:  defect          |       Status:  needs_review
       Priority:  major           |    Milestone:  sage-6.4
      Component:  combinatorics   |   Resolution:
       Keywords:                  |    Merged in:
        Authors:  Jeroen Demeyer  |    Reviewers:
Report Upstream:  N/A             |  Work issues:
         Branch:                  |       Commit:
   Dependencies:                  |     Stopgaps:
----------------------------------+----------------------------
Changes (by jdemeyer):

 * status:  new => needs_review


Old description:

> {{{
> sage: e = Partition([2,1,1]).to_exp()
> sage: e
> [2, 1]
> sage: [type(x) for x in e]
> [<type 'int'>, <type 'int'>]
> }}}

New description:

 {{{
 sage: e = Partition([2,1,1]).to_exp()
 sage: e
 [2, 1]
 sage: [type(x) for x in e]
 [<type 'int'>, <type 'int'>]
 }}}

 Note: as Volker points out in comment [comment:1], there are more places
 with the same problem. Since this ticket is intended to avoid a doctest
 failure in #17130, I only fixed this one instance.

--

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