#17814: Make calling a cached method independent of source code inspection
--------------------------------+------------------------
Reporter: SimonKing | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.6
Component: distribution | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
--------------------------------+------------------------
Comment (by SimonKing):
Replying to [comment:26 jdemeyer]:
> Replying to [comment:25 SimonKing]:
> > Apparently `PyCFunction_GetFlags` is the wrong tool (or we first need
to extract the cfunction from the method), since always an error is
raised.
> It is the ''right'' tool for '''bound''' '''Cython''' methods.
Exactly. And what is wrapped by a cached method is ''not'' a bound method,
but an unbound method (or even a function that is not a method at all?).
Would it make sense to take the time to create a bound copy, after making
sure that it is not a Python thingy?
--
Ticket URL: <http://trac.sagemath.org/ticket/17814#comment:28>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.