#4981: [with patch, needs review] clean up polynomial_ring.py
------------------------------+---------------------------------------------
Reporter: burcin | Owner: burcin
Type: enhancement | Status: new
Priority: major | Milestone: sage-3.3
Component: basic arithmetic | Keywords:
------------------------------+---------------------------------------------
The way element classes are chosen in
`sage/rings/polynomial/polynomial_ring.py` goes very much against object
oriented design, and is basically ugly. :)
Attached patch tries to clean up this file, moves the decision of element
classes to the immediate parents, adds some tests, and unifies the
`__call__` methods. This also makes it much easier to add support for
specialized polynomial classes.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4981>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---