#9362: Invalidate None as a vertex label.
----------------------------+-----------------------------------------------
Reporter: boothby | Owner: jason, mvngu, ncohen, rlm
Type: defect | Status: needs_info
Priority: major | Milestone:
Component: graph theory | Keywords: sd35.5
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies: #11739
----------------------------+-----------------------------------------------
Changes (by brunellus):
* dependencies: => #11739
Comment:
Replying to [comment:5 zimmerma]:
> I thought from the summary that using None would be forbidden and would
raise an exception, but
> comment [comment:4] seems to still use None as a vertex. Is that wanted?
Sorry that I didn't discuss this. What do you think? Using None as a
special value for "create a new vertex" is consistent with add_vertex
(that is especially nice in merge_vertices -- maybe that function should
return a new vertex name in the [None, ...] case?), but it can make some
errors harder to find. I don't have a strong opinion.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9362#comment:7>
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.