#9907: Move generally usable decorators from plot.misc to misc.decorators
---------------------------+------------------------------------------------
Reporter: jsrn | Owner: tdb
Type: enhancement | Status: needs_work
Priority: minor | Milestone:
Component: relocation | Keywords: generality, decorators
Author: jsrn | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Comment(by mhansen):
The pickle jar contains old pickles of objects that we want to ensure work
in the future. For example, if you made the changes
at [http://trac.sagemath.org/sage_trac/ticket/9907 9907] as the are, then
possibly many pickles out in the wild would break. Instead of trying to
update the pickle jar, the appropriate thing to do would be to add the
following to sage/plot/misc.py
{{{
#For backward compatibility -- see #9907.
from sage.misc.decorators import options, suboptions, rename_keyword
}}}
That way, the old pickles will still work as they will still be able to
find the decorators in sage.plot.misc.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9907#comment:9>
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.