Apply get_args fix from bpo-40398 to typing_extensions#770
Apply get_args fix from bpo-40398 to typing_extensions#770gvanrossum merged 1 commit intopython:masterfrom
Conversation
Fixes bpo-40398: typing.get_args() now always returns an empty tuple for special generic aliases.
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). CLA MissingOur records indicate the following people have not signed the CLA: For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. If you have recently signed the CLA, please wait at least one business day You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
|
Seems this was already done in python/cpython#19857, I presume this PR was submitted by mistake. |
|
Actually I need the fix in |
|
Okay, reopening. And next time please be a little more clear in what you want. Now go sign that CLA. |
gvanrossum
left a comment
There was a problem hiding this comment.
Okay, now that I have the right context this is fine.
|
Thanks @gvanrossum |
Applies the fix from https://bugs.python.org/issue40398 to typing_extensions: typing.get_args() now always returns an empty tuple for special generic aliases.