Changes between Initial Version and Version 1 of Ticket #14279, comment 2


Ignore:
Timestamp:
03/18/13 09:35:58 (9 years ago)
Author:
SimonKing
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14279, comment 2

    initial v1  
    99The disadvantage:
    1010
    11 * `_get_action_` is a cpdef method. Unfortunately, Python/Cython tends to confuse cpdef and def methods when one creates a class inheriting from two different cdef classes. Here, it means that `Homset._get_action_` is not available when one defines `sage.modular.abvar.homspace.EndomorphismSubring` as subclass of both Homset and Ring.
     11* `_get_action_` is a cpdef method. Unfortunately, Python/Cython tends to confuse cpdef/cdef methods when one creates a class inheriting from two different cdef classes. Here, it means that `Homset._get_action_` is not available when one defines `sage.modular.abvar.homspace.EndomorphismSubring` as subclass of both Homset and Ring.
    1212
    1313Solution of this problem: Drop Ring. Instead, implement the ring properties of `EndomorphismSubring` by using the category framework.