-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document C docstring behavior for signature extraction #85602
Comments
As described in https://stackoverflow.com/questions/25847035/what-are-signature-and-text-signature-used-for-in-python-3-4, https://bugs.python.org/issue20586, and https://stackoverflow.com/questions/50537407/add-a-signature-with-annotations-to-extension-methods, it is possible to embed a signature in docstrings for C functions, so that |
I don't think we are ready to expose this stuff as public. Recent discussion thread (with several PEP drafts): https://discuss.python.org/t/type-signatures-for-extension-modules-pep-draft/43914 Perhaps, most close issue to track the problem is capi-workgroup/problems#32. Maybe we should have some "feature"-type issue in the CPython repo, but this hardly is one. I suggest close this as "not planned". It's not a documentation issue. CC @picnixz |
Ah! I thought we were ready! I never created a manual docstring for a function actually except using AC or something with slots. If we are not ready yet on our side, then I'm ok with closing it as "not planned" for now and re-open this one when we're ready to. |
When we'll be ready, then it will become a "docs" issue only. For now, we'll close it as |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: