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: ast module classes missing __text_signature__ attribute
Type: enhancement Stage: test needed
Components: Argument Clinic, Interpreter Core, Library (Lib) Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: larry, terry.reedy, xloem
Priority: normal Keywords:

Created on 2021-09-27 15:48 by xloem, last changed 2022-04-11 14:59 by admin.

Messages (2)
msg402728 - (view) Author: xloem (xloem) Date: 2021-09-27 15:48
The ast module has no signature information on its types.  The types are generated in a uniform way, so it should be reasonable to add __text_signature__ or __signature__ fields to all of them at once.
msg403040 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2021-10-01 22:48
I believe that multiple modules have not yet been converted to use argument clinic.  (I marked 'test needed' but am not sure if this attribute is tested.)  I don't think that I would put ast as highest priority, although it might be easiest.
History
Date User Action Args
2022-04-11 14:59:50adminsetgithub: 89466
2021-10-01 22:48:54terry.reedysetversions: + Python 3.11
nosy: + terry.reedy

messages: + msg403040

stage: test needed
2021-09-27 15:48:43xloemcreate