Open dce13233-e405-4731-8614-ecd451b89db3 opened 3 years ago
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.
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.
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: ```python assignee = None closed_at = None created_at =
labels = ['interpreter-core', 'type-feature', 'library', 'expert-argument-clinic', '3.11']
title = 'ast module classes missing __text_signature__ attribute'
updated_at =
user = 'https://github.com/xloem'
```
bugs.python.org fields:
```python
activity =
actor = 'terry.reedy'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core', 'Library (Lib)', 'Argument Clinic']
creation =
creator = 'xloem'
dependencies = []
files = []
hgrepos = []
issue_num = 45303
keywords = []
message_count = 2.0
messages = ['402728', '403040']
nosy_count = 3.0
nosy_names = ['terry.reedy', 'larry', 'xloem']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'test needed'
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue45303'
versions = ['Python 3.11']
```