This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: allow __text_signature__ to work for c heap types
Type: Stage: resolved
Components: C API Versions: Python 3.10, Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson
Priority: normal Keywords: patch

Created on 2020-09-02 04:37 by benjamin.peterson, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 22058 merged benjamin.peterson, 2020-09-02 04:41
Messages (2)
msg376216 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2020-09-02 04:37
C types can add a signature to their __doc__. Currently, PyType_FromSpec just deletes such signatures instead of making them visible from __text_signature__.
msg376251 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2020-09-02 16:29
New changeset 3940333637b98a2781869977b077552514784529 by Benjamin Peterson in branch 'master':
closes bpo-41689: Preserve text signature from tp_doc in C heap type creation. (GH-22058)
https://github.com/python/cpython/commit/3940333637b98a2781869977b077552514784529
History
Date User Action Args
2022-04-11 14:59:35adminsetgithub: 85855
2020-09-02 16:29:14benjamin.petersonsetstatus: open -> closed
resolution: fixed
messages: + msg376251

stage: patch review -> resolved
2020-09-02 04:41:16benjamin.petersonsetkeywords: + patch
stage: patch review
pull_requests: + pull_request21149
2020-09-02 04:37:01benjamin.petersoncreate