#8458: iterator for graphs() doesn't return independent graphs
-----------------------------+----------------------------------------------
Reporter: mvngu | Owner: rlm
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: graph theory | Keywords:
Work_issues: | Upstream: N/A
Reviewer: Nathann Cohen | Author:
Merged: | Dependencies:
-----------------------------+----------------------------------------------
Changes (by ncohen):
* status: needs_work => needs_review
* reviewer: => Nathann Cohen
Old description:
> From [http://groups.google.com/group/sage-
> support/browse_thread/thread/4f822bba45432f7b sage-support]:
> {{{
> So, what you are saying is that the iterator for graphs() does not
> return independent graphs which can be changed without affecting the
> others.
> That does explain what I am seeing and is consistent with Pat
> LeSmith's suggested workaround.
>
> Should this property of the iterators to the generated graphs be
> documented?
>
> So, I think I will try making a copy of just the graphs I want to
> change or use the list() trick.
> }}}
New description:
From [http://groups.google.com/group/sage-
support/browse_thread/thread/4f822bba45432f7b sage-support]:
{{{
So, what you are saying is that the iterator for graphs() does not
return independent graphs which can be changed without affecting the
others.
That does explain what I am seeing and is consistent with Pat
LeSmith's suggested workaround.
Should this property of the iterators to the generated graphs be
documented?
So, I think I will try making a copy of just the graphs I want to
change or use the list() trick.
}}}
Apply:
[attachment:trac_8458.patch]
--
Comment:
Well, I do not like to set tickets back to "needs work" in such cases...
Here is the same patch rebased on beta1. If it's fine with you too, you
can set the ticket to positive_review `:-)`
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8458#comment:12>
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.