Uh oh!
There was an error while loading. Please reload this page.
gh-91491: Complete Whats New in 3.11 for typing - #92708
Conversation
Uh oh!
There was an error while loading. Please reload this page.
| * Loosen runtime requirements for type annotations by removing the callable | ||
| check in the private ``typing._type_check`` function. (Contributed by | ||
| Gregory Beauregard in :gh:`90802`.) |
There was a problem hiding this comment.
Should we really include this? It's a private undocumented function (though David's recent bug report suggested to me otherwise).
There was a problem hiding this comment.
Given that it's already spawned a bug report, it's likely that other users will run into this change, so I think it's important to include.
There was a problem hiding this comment.
Agreed then. Could you please add a notice strongly discouraging users from using it too? We might as well try to dissuade users though it might be in vain :).
This function is for internal use only and is **unstable** and may change across versions. Please do not use this function. Instead, we recommend implementing this with your own code.There was a problem hiding this comment.
That feels like a bit much for the What's New document. We should say what changed, but I don't think we need more than that.
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
AlexWaygood
left a comment
There was a problem hiding this comment.
Thank you for working on this!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
miss-islington
commented
May 19, 2022
Thanks @JelleZijlstra for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
miss-islington
commented
May 19, 2022
Sorry @JelleZijlstra, I had trouble checking out the |
miss-islington
commented
May 19, 2022
Thanks @JelleZijlstra for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
FixespythonGH-91491 Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> (cherry picked from commit 6b51773) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
bedevere-bot
commented
May 19, 2022
GH-92958 is a backport of this pull request to the 3.11 branch. |
Fixes#91491