#5524: Fix missing equality test in attrcall
---------------------------------+------------------------------------------
Reporter: nthiery | Owner: cwitty
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-4.3.2
Component: misc | Keywords: attrcall, pickling
Author: Nicolas M. Thiéry | Upstream: N/A
Reviewer: Jason Bandlow | Merged:
Work_issues: |
---------------------------------+------------------------------------------
Changes (by newvalueoldvalue):
* status: new => needs_review
* author: => Nicolas M. Thiéry
* upstream: => N/A
* keywords: => attrcall, pickling
* reviewer: => Jason Bandlow
Old description:
> {{{
> sage: f = attrcall("bla")
> sage: dumps(f)
> sage: loads(dumps(f)) == f
> False
> }}}
> This is because AttrCallObject doesn't have a {{{__cmp__}}} method.
New description:
The patch fixes the missing equality test methods in attrcall:
{{{
sage: attrcall("bla") == attrcall("bla")
False
}}}
which was, among others, breaking pickling tests.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5524#comment:2>
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.