#17927: Discarded arguments in IntegerVector
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  ncohen                 |       Status:  needs_review
           Type:         |    Milestone:  sage-6.6
  defect                 |   Resolution:
       Priority:  major  |    Merged in:
      Component:         |    Reviewers:
  combinatorics          |  Work issues:
       Keywords:         |       Commit:
        Authors:         |  4b5ef5365d54a0e32bf693b35440faddf8262686
  Nathann Cohen          |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  public/17927           |
   Dependencies:         |
-------------------------+-------------------------------------------------

Comment (by vdelecroix):

 Note that it would be cool to actually conert the input to either Python
 integer or Sage integers (and also make the output uniform, i.e. being
 list of Python integer or list of Sage integers but mixing both can lead
 to disaster):
 {{{
 sage: V = IntegerVectors(4/1, 3/1)
 sage: a = V.first()
 sage: a in V
 False
 sage: type(a[0])
 <type 'sage.rings.rational.Rational'>
 sage: type(a[1])
 <type 'int'>
 }}}
 Not exactly the topic of the ticket but I bumped into that issue and saw
 this ticket in the trac list...

 Vincent

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