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 2020-09-02 16:29 by benjamin.peterson. 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
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