-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
gh-92128: Add __class_getitem__ to logging.LoggerAdapter and logging.StreamHandler
#92129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Previous changes like this have not made changes to the docs to note the addition of |
JelleZijlstra
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I checked the stubs and it makes sense that these classes are generic.
I do think we should document that these classes are generic and say how many type arguments to expect and what they mean. We should do that more broadly for generic classes, though, and I'd rather get the runtime change in before the feature freeze.
Misc/NEWS.d/next/Library/2022-05-01-21-45-41.gh-issue-92128.Di7VbE.rst
Outdated
Show resolved
Hide resolved
|
Thanks all for the speedy reviews! |
Closes #92128