#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 | cb18ced22db714063e744bb907a035b4fe3afa24
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by bgillespie):
Replying to [comment:74 jdemeyer]:
> Replying to [comment:70 bgillespie]:
> > Replying to [comment:39 jdemeyer]:
> > > It seems that `[1,3]` will never appear in the output!
> >
> > Not a bug, but an issue that's worth discussing.
> It '''is''' a bug, see also the discussion starting at
[comment:29:ticket:17548].
Yes, I have glanced through that discussion.
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?
--
Ticket URL: <http://trac.sagemath.org/ticket/17979#comment:76>
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.