Skip to content

gh-155496: Use Argument Clinic for more functions of the _thread module - #155514

Open
serhiy-storchaka wants to merge 2 commits into
python:mainfrom
serhiy-storchaka:thread-clinic
Open

gh-155496: Use Argument Clinic for more functions of the _thread module#155514
serhiy-storchaka wants to merge 2 commits into
python:mainfrom
serhiy-storchaka:thread-clinic

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

Convert all functions and methods of the _thread module, except the start_new(), allocate() and exit_thread() aliases, which Argument Clinic cannot express.

The type of the args and kwargs arguments of start_new_thread() is now checked by the generated code, therefore the error message for a wrong type is the standard one.

@serhiy-storchaka
serhiy-storchaka marked this pull request as ready for review August 14, 2026 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant