GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — gh-104984: remove kwargs and starargs from Call & ClassDef by Glyphack · Pull Request #104986 · python/cpython Conversation
|
|
|
||
|
|
||
| .. class:: ClassDef(name, bases, keywords, starargs, kwargs, body, decorator_list) | ||
| .. class:: ClassDef(name, bases, keywords, body, decorator_list) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This is also now out of date with the implementation in main and 3.12 due to the addition of type_params argument in PEP 695, but that's being addressed in #104642
Still seems sensible to remove starargs and kwargs in this PR, and let @JelleZijlstra resolve the resulting conflict on this line in #104642
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Hmm, backporting this will mean that the PEP 695 docs PR won't backport cleanly, which may cause a bit more of a pain. @JelleZijlstra how do you prefer to handle this?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Just merge this first, I'll take care of the backports
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…honGH-104986) These fields are removed in python@025e9eb (cherry picked from commit 61c1d67) Co-authored-by: Shaygan Hooshyari <[email protected]>
|
GH-104987 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-104988 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…honGH-104986) These fields are removed in python@025e9eb (cherry picked from commit 61c1d67) Co-authored-by: Shaygan Hooshyari <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
starargs and kwargs are removed from ClassDef and Call ast nodes
There was an error while loading. Please reload this page.