#11115: Rewrite cached_method in Cython
-------------------------------------------------------------------+--------
Reporter: SimonKing |
Owner: jason
Type: enhancement |
Status: needs_work
Priority: major |
Milestone: sage-pending
Component: misc |
Keywords: category cython cache
Work_issues: |
Upstream: N/A
Reviewer: Nicolas M. ThiƩry, Andrey Novoseltsev, Volker Braun |
Author: Simon King
Merged: |
Dependencies: #9976, #11298, #11342, #9138, #11815, #11972
-------------------------------------------------------------------+--------
Comment(by SimonKing):
Replying to [comment:161 jdemeyer]:
> There are some problems with the new Cython (#11761, to be merged in
sage-4.8.alpha1), the following fails:
> include "cdefs.pxi"
> from sage.all import cached_method, cached_in_parent_method,
Category
> class MyCategory(Category):
> @cached_method
> def super_categories(self):
> return [Objects()]
It is actually surprising that this used to work. After all, Objects has
not been imported.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11115#comment:162>
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.