#11768: Get source code for parent/element classes of categories
-----------------------------------------+----------------------------------
Reporter: SimonKing | Owner: jason
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: misc | Resolution:
Keywords: sources dynamic class | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Simon King | Merged in:
Dependencies: | Stopgaps:
-----------------------------------------+----------------------------------
Comment (by nthiery):
Replying to [comment:22 SimonKing]:
> Replying to [comment:21 nthiery]:
> > By the way: feel free to steal this little fix which I did take the
time not push through ...:
> According to the comments in the patch, it would ''not'' solve the
problem addressed here:
> {{{
> Now sage_getsourcelines works similarly for old and new style classes:
>
> sage: sage_getsourcelines(Sets.ParentMethods)
> sage: sage_getsourcelines(Sets.Algebras)
>
> Still both fail, because inspect.getsourcelines (in fact
> inspect.findsource) fails on nested classes which have been renamed
> with NestedClassMetaclass:
> ...
> }}}
Oh, sorry, I was unclear. I did not mean that this patch would fix
this ticket. Just that it fixed another little issue in a related spot
in the code. If your patch already takes care of it, so much the
better!
Cheers,
Nicolas
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11768#comment:23>
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.