#12877: Categories for padics, schemes, and some more rings
-------------------------------------+--------------------------------------
Reporter: nthiery | Owner:
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-5.1
Component: categories | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Simon King
Authors: Nicolas M. ThiƩry | Merged in:
Dependencies: | Stopgaps:
-------------------------------------+--------------------------------------
Comment (by SimonKing):
Replying to [comment:11 nthiery]:
> I guess it's a question of extension types versus non extension types.
No, it isn't.
{{{
sage: cython("""
....: cdef class MyParent(object):
....: def __getattr__(self, str name):
....: raise AttributeError,name
....: """)
sage: MyParent.__getattr__
<method '__getattr__' of
'_mnt_local_king__sage_temp_mpc622_20365_tmp_0_spyx_0.MyParent' objects>
}}}
At least that is what I find with sage-5.1.notebook. I do get an error in
an old version of Sage that still uses the old Cython spkg.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12877#comment:12>
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.