#17847: Cython: embed signatures in docstrings
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.6
Component: cython | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: Fixed upstream, | Work issues:
but not in a stable release. | Commit:
Branch: | 1a36cc96d1e9ebd5d46a3dd9c027a41e89da2ebc
u/jdemeyer/ticket/17847 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by SimonKing):
Something else is not good. The purpose of this ticket is to embed
signatures into docstrings. Well, it isn't done even with the ticket
branch:
{{{
sage: cython("""
....: class Foo:
....: def __init__(self, bla, int x):
....: pass
....: """)
sage: Foo.__init__.__doc__
'File: _home_king__sage_temp_linux_va3e_site_18607_tmp_QtW4tF_spyx_0.pyx
(starting at line 8)'
}}}
In other words, the file information is in the docstring, but the
signature is missing.
Why is that?
--
Ticket URL: <http://trac.sagemath.org/ticket/17847#comment:33>
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.