#4982: consolidate shifts in polynomial_template
---------------------------+------------------------------------------------
Reporter: robertwb | Owner: tbd
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.3
Component: algebra | Keywords:
Work_issues: | Author: Alex Ghitza
Reviewer: | Merged:
---------------------------+------------------------------------------------
Changes (by newvalueoldvalue):
* status: new => needs_review
* author: => Alex Ghitza
Comment:
The point was to consolidate the three shift methods {{{shift}}},
{{{__lshift__}}}, and {{{__rshift__}}} by having {{{shift}}} do all the
work and the other two call it. (Right now there's significant code
triplication going on.)
The attached patch does this.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4982#comment:3>
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
-~----------~----~----~----~------~----~------~--~---