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-105486: Change the `repr` of `ParamSpec` list of args in `GenericAlias` by sobolevn · Pull Request #105488 · python/cpython Conversation
|
|
Is there anything left? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@AlexWaygood you added the 3.12 backport label, but this feels like a feature change that should only go into main. What do you think? Also, this PR is linked to issue #105487, but I don't see how it is related. I think this is a good change and we should merge it, but was there some other issue this should be linked to? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ah it should be #105486, I'll update the PR. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
repr of ParamSpec list of args in GenericAliasrepr of ParamSpec list of args in GenericAlias
Hmm, I view the current repr as pretty inconsistent — a latent bug that was exposed by the PEP-695 implementation. So I would favour backporting here. Given that 3.12 has yet to be released, I also think it will be less disruptive to change the repr now rather than have the repr change between 3.12 and 3.13, which could break people's doctests etc. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
That's fair. I suppose you could technically run into this in 3.11, but PEP 695 makes it a lot easier. I'm fine with backporting. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks @sobolevn for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…nericAlias` (pythonGH-105488) (cherry picked from commit eb7d6e7) Co-authored-by: Nikita Sobolev <[email protected]>
|
GH-106297 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.
…nericAlias` (python#105488)
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.