Sorry, something went wrong.
|
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
Sorry, something went wrong.
|
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks! Haven't looked in depth yet at all, but we'll also need:
Sorry, something went wrong.
|
The implementation for override LGTM. |
Sorry, something went wrong.
|
(Rebase on main) @gvanrossum I think this is waiting on review from you |
Sorry, something went wrong.
There was a problem hiding this comment.
Sorry for dropping this; I have a few nits but I'm happy to merge the PR. I'll leave it open for a few days in case Guido does want to take a look himself.
Sorry, something went wrong.
|
I defer to @JelleZijlstra if that's okay. |
Sorry, something went wrong.
|
Sorry for being late with a review, I've opened a follow-up for this: #102324 Thanks a lot for adding this decorator! Great work, it would be very useful! 👍 |
Sorry, something went wrong.
The code is pulled almost unchanged from typing_extensions:
Question that came up was where to put the type variable and what to name it:
Testing the code:
First set up the repo, following instructions
at https://devguide.python.org/ by running:
Then run the typing tests:
I ran the full test suite with
and it came back clean except for a test_grp failure which I seem to get on trunk as well - likely something in my build is misconfigured but I'm pretty sure it is unrelated to the changes here.
Make sure the docs build: