#15669: Errors with graph complement
-------------------------------------+-------------------------------------
Reporter: tscrim | Owner: tscrim
Type: defect | Status: positive_review
Priority: major | Milestone: sage-6.1
Component: graph theory | Resolution:
Keywords: | Merged in:
Authors: Travis Scrimshaw | Reviewers: Nathann Cohen
Report Upstream: N/A | Work issues:
Branch: | Commit:
public/graphs/complement-15699 | 429f6e82e589e2491efff17f297d020bbbbb67e4
Dependencies: #15681 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by tscrim):
`hasattr(obj, attr_str)` is the format which only checks if the attribute
is there, but we want to actually retrieve the attribute if possible and
if not, then return `False` which would be `getattr(obj, attr_str,
[default_value])` in the form of `getattr(self, "_immutable", False)`. The
second to last is important because the latest of #15681 removed the
conflict with `develop`, and the third to last comes along for the ride.
--
Ticket URL: <http://trac.sagemath.org/ticket/15669#comment:22>
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.