#15669: Errors with graph complement
-------------------------------------+-------------------------------------
       Reporter:  tscrim             |        Owner:  tscrim
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.1
      Component:  graph theory       |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Travis Scrimshaw   |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  public/graphs/complement-15699     |  e2a498c3c7adc71adcadd76b0bc09ea9a6efe77c
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by ncohen):

 Yoooooooo !

 > What's the "canonical" way to check if a graph `G` is immutable?
 `hasattr(G, '_immutable') and G._immutable`?

 Hmmmmmmm.... Well, we have been using `if hasattr(G, '_immutable',
 False):` several times now, even if I don't like it. But my main reason
 for not liking it is that the Poset backend have this variable set while
 they are not immutable, and #15623 will fix it anyway... So perhaps we can
 do that indeed. Until there is a generic way to test if something is
 immutable `:-)`

 > We'll just keep fixing them as we come across them I guess.

 Yepyepyep `:-/`

 But the graph products. The unions. The subgraphs. The orientations...
 pffffff `:-/`

 Nathann

--
Ticket URL: <http://trac.sagemath.org/ticket/15669#comment:5>
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.

Reply via email to