#17979: Reimplementation of IntegerListsLex
-------------------------------------+-------------------------------------
       Reporter:  aschilling         |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  blocker            |    Milestone:  sage-6.6
      Component:  combinatorics      |   Resolution:
       Keywords:  days64             |    Merged in:
        Authors:  Bryan Gillespie,   |    Reviewers:
  Anne Schilling, Nicolas M. Thiery  |  Work issues:  support n in an
Report Upstream:  N/A                |  iterable
         Branch:                     |       Commit:
  public/ticket/17979                |  3efcb0a067bb039d28d29b3fd8c9115c18c90d15
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 Replying to [comment:76 bgillespie]:
 > The point is that if it is a bug, then it's a bug in the specification,
 not the code, since we are requiring the output to be in lexicographic
 order.  However, if we don't want to call it an iterator because it
 doesn't satisfy the contract of eventually reaching every element in the
 set, then the class won't interact well with the many places that use
 iterators in Python and Sage.  Can you propose a solution to this?

 The are two possible solutions:
 1. raise an exception if the iterator doesn't iterate over all elements.
 2. drop the "lexicographic order" requirement.

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