#19125: DeprecatedMethod wrapping is broken
-------------------------------------+-------------------------------------
Reporter: nbruin | Owner:
Type: PLEASE CHANGE | Status: needs_review
Priority: blocker | Milestone: sage-6.9
Component: misc | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/nbruin/ticket/19125 | 7f6cffe7e38835212a508f6fcf4f617e43c4103b
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by nbruin):
* status: new => needs_review
* commit: => 7f6cffe7e38835212a508f6fcf4f617e43c4103b
Comment:
First try. This just reuses the DeprecatedFunction class to also represent
bound methods (which it did before, but without making separate instances
for doing that) One could write a subclass `DeprecatedBoundMethod` instead
to make code a little more "efficient", but given that the code currently
already calls `gc.get_referrers`, I don't think the current code change
will make performance any worse.
----
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=7f6cffe7e38835212a508f6fcf4f617e43c4103b
7f6cffe]||{{{trac 19125: fix deprecated method binding}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/19125#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 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/d/optout.