#12808: Optimize ClassCallMetaClass using Cython
--------------------------------------------------+-------------------------
Reporter: hivert | Owner: jason
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: misc | Resolution:
Keywords: classcall UniqueRepresentation | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Florent Hivert | Merged in:
Dependencies: | Stopgaps:
--------------------------------------------------+-------------------------
Comment (by SimonKing):
It is relatively easy to change nested_class.py into nested_class.pyx
(though not totally trivial). But I was not able to change
`NestedClassMetaclass` into a cdef class.
Apparently, the problem is that during initialisation of a cdef class
(derived from type, at least) the name and the module of that class are
not known yet. Hence, a crash in nested_pickle, which is called during
initialisation. However, if one determines name and module in a different
way and passes it directly to nested_pickle, then there is a different
crash, and here I don't understand what is wrong, yet.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12808#comment:31>
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.