#6540: [with patch, needs review] g.add_edge((u,v), label=l) syntax unsupported
for C graphs
--------------------------+-------------------------------------------------
Reporter: rlm | Owner: rlm
Type: defect | Status: new
Priority: major | Milestone: sage-4.1.1
Component: graph theory | Keywords:
Reviewer: | Author:
Merged: |
--------------------------+-------------------------------------------------
Comment(by jason):
This looks good and passes tests in graph.py.
The function has a blanket except: statement, which should instead trap
the specific error it is expecting. But that is not this issue.
As a side note, I think there are too many syntax choices for creating
edges, which not only creates obscure corner cases and parsing code like
this, but also leads to code that goes against the python philosophy that
there should be one way to do things ("http://trac.sagemath.org/sage_trac
/raw-attachment/ticket/6540/trac_6540-edge_syntax.patch"). I don't have
time to do anything about it, so this is just a hollow complaint now :).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6540#comment:2>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---