[issue41689] allow __text_signature__ to work for c heap types

2020-09-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: 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)

[issue41689] allow __text_signature__ to work for c heap types

2020-09-01 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +21149 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22058 ___ Python tracker

[issue41689] allow __text_signature__ to work for c heap types

2020-09-01 Thread Benjamin Peterson
New submission from Benjamin Peterson : C types can add a signature to their __doc__. Currently, PyType_FromSpec just deletes such signatures instead of making them visible from __text_signature__. -- components: C API messages: 376216 nosy: benjamin.peterson priority: normal