Skip to content

gh-95065: Add Argument Clinic support for deprecating positional use of parameters#95151

Merged
erlend-aasland merged 95 commits intopython:mainfrom
erlend-aasland:ac-deprecate
Aug 7, 2023
Merged

gh-95065: Add Argument Clinic support for deprecating positional use of parameters#95151
erlend-aasland merged 95 commits intopython:mainfrom
erlend-aasland:ac-deprecate

Conversation

@erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Jul 22, 2022

Add support for deprecating positional use of optional parameters by
introducing the * [from X.Y] syntax, meaning the following parameters
will be keyword-only starting with Python version X.Y. Code that emits
DeprecationWarnings and compile time messages will be automatically
generated.

Multiple * [from X.Y] lines are not allowed (yet).

Loading
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.

7 participants