#15603: "immutable=True" for Graph/Digraph __init__ and copy()
----------------------------+---------------------------------
Reporter: ncohen | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.1
Component: graph theory | Keywords:
Merged in: | Authors: Nathann Cohen
Reviewers: | Report Upstream: N/A
Work issues: | Branch: #15278
Commit: | Dependencies:
Stopgaps: |
----------------------------+---------------------------------
As promised on #15278, this ticket adds an 'immutable' keyword to the
constructors of Graph/Digraph, and in 'copy()' too.
While I was at it, I tried to clean a bit the 'copy()' method, which now
systematically checks its input. It should deal with every situation `:-P`
And I think I will have to clean the constructors of Graph/Digraph too at
some point.
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/15603>
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.