gh-118803: Remove ByteString from typing and collections.abc#118804
Merged
AlexWaygood merged 2 commits intopython:mainfrom May 8, 2024
Merged
gh-118803: Remove ByteString from typing and collections.abc#118804AlexWaygood merged 2 commits intopython:mainfrom
ByteString from typing and collections.abc#118804AlexWaygood merged 2 commits intopython:mainfrom
Conversation
rhettinger
approved these changes
May 8, 2024
JelleZijlstra
approved these changes
May 8, 2024
AlexWaygood
approved these changes
May 8, 2024
| return Union[left, self] | ||
|
|
||
|
|
||
| class _DeprecatedGenericAlias(_SpecialGenericAlias, _root=True): |
Member
There was a problem hiding this comment.
We might need this again in the future. But I guess it's pretty easy to add it back if/when that happens
Contributor
|
Left a longer comment on the issue but to summarize I was a bit surprised to discover that just importing |
AlexWaygood
added a commit
to AlexWaygood/cpython
that referenced
this pull request
Sep 16, 2025
…ctions.abc` (python#118804)" This reverts commit 2f4db5a.
AlexWaygood
added a commit
to AlexWaygood/cpython
that referenced
this pull request
Sep 16, 2025
…ctions.abc` (python#118804)" This reverts commit 2f4db5a.
AlexWaygood
added a commit
that referenced
this pull request
Sep 16, 2025
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Sep 16, 2025
…ctions.abc` (pythonGH-118804)" (pythonGH-138990) (cherry picked from commit 530ddd3) Co-authored-by: Alex Waygood <[email protected]>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ByteStringfromtypingandcollections.abc#118803📚 Documentation preview 📚: https://cpython-previews--118804.org.readthedocs.build/