#14806: Immutable graph backend
---------------------------------+----------------------------------
Reporter: ncohen | Owner: jason, ncohen, rlm
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.12
Component: graph theory | Resolution:
Keywords: | Merged in:
Authors: Nathann Cohen | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: #14805 | Stopgaps:
---------------------------------+----------------------------------
Comment (by ncohen):
Hellooooooo !!
> As promised I peeked at the code!!
Cooooooooooool ! `:-P`
> * Can we use xrange instead of range when we only iterate over
something?
Volker beat me to this one.
> * Can we raise a ValeError in '''in_neighbors'' if u is not in the
graph as to be consistent with how out_degree works?
`T_T`
You are right. Fixed.
> * In the function '''iterator_in_edges''' why do we need the call to
iter in the following line ?
Because I am an idiot. It actually explains a lot of things `:-P`
Fiiiiiiiiixed !
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/14806#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 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/groups/opt_out.