-
-
Notifications
You must be signed in to change notification settings - Fork 32.9k
gh-118803: Remove ByteString
from typing
and collections.abc
#118804
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
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.
Thanks!
@@ -1670,21 +1669,6 @@ def __ror__(self, left): | |||
return Union[left, self] | |||
|
|||
|
|||
class _DeprecatedGenericAlias(_SpecialGenericAlias, _root=True): |
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.
We might need this again in the future. But I guess it's pretty easy to add it back if/when that happens
Left a longer comment on the issue but to summarize I was a bit surprised to discover that just importing |
…ctions.abc` (python#118804)" This reverts commit 2f4db5a.
…ctions.abc` (python#118804)" This reverts commit 2f4db5a.
…ctions.abc` (pythonGH-118804)" (pythonGH-138990) (cherry picked from commit 530ddd3) Co-authored-by: Alex Waygood <[email protected]>
|
ByteString
fromtyping
andcollections.abc
#118803📚 Documentation preview 📚: https://cpython-previews--118804.org.readthedocs.build/