-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
8000
Show file tree
Hide file tree
Jun 8, 2023
Jun 8, 2023
Jun 8, 2023
Jun 8, 2023
Jun 8, 2023
Jun 8, 2023
Jun 8, 2023
Jun 8, 2023
Jun 8, 2023
Jun 9, 2023
Jun 9, 2023
Jun 9, 2023
Jun 9, 2023
Jun 13, 2023
Jun 13, 2023
Jun 16, 2023
Jun 16, 2023
Jun 16, 2023
Jun 16, 2023
Jun 16, 2023
Jun 16, 2023
Jun 17, 2023
Jun 17, 2023
Jun 17, 2023
Jun 17, 2023
Jun 17, 2023
Jun 17, 2023
Jun 20, 2023
Jun 20, 2023
Oct 11, 2023
Oct 11, 2023
Oct 12, 2023
Oct 28, 2023
Feb 18, 2024
Feb 18, 2024
Feb 19, 2024
Feb 28, 2024
Mar 12, 2024
Apr 26, 2024
Apr 26, 2024
Apr 26, 2024
Sep 28, 2024
Sep 28, 2024
Sep 28, 2024
Sep 28, 2024
Sep 28, 2024
Sep 28, 2024
Sep 29, 2024
Sep 29, 2024
Nov 5, 2024
Mar 3, 2025
Mar 3, 2025
gh-105499: Merge typing.Union and types.UnionType #105511
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
8c8b1dd
Unify UnionType and Union
JelleZijlstra aba63eb
test_typing succeeds
JelleZijlstra f2f23a0
Merge remote-tracking branch 'upstream/main' into unifyunion
JelleZijlstra e75282f
blurb
JelleZijlstra 540b04b
Fix test_types
JelleZijlstra ae8fa62
Documentation
JelleZijlstra 7569c48
stray f
JelleZijlstra 8bcb930
Fix tests
JelleZijlstra 291953e
No more typing._make_union
JelleZijlstra f7ca8d4
Add tp_new
JelleZijlstra 0f1ab18
fix a refleak
JelleZijlstra eb47a0b
Fix test
JelleZijlstra eaa4e79
Update Lib/test/test_typing.py
JelleZijlstra 4a0235f
Merge remote-tracking branch 'upstream/main' into unifyunion
JelleZijlstra c71e8c3
Add back _UnionGenericAlias
JelleZijlstra 0475415
Merge remote-tracking branch 'upstream/main' into unifyunion
JelleZijlstra bb50899
Remove unnecessary NewRef
JelleZijlstra c564672
Make typing.Union the canonical name
JelleZijlstra 9f58421
docs
JelleZijlstra 8884a94
fix test_pydoc
JelleZijlstra bcc2e6a
Update Objects/unionobject.c
JelleZijlstra c4b217b
Update Doc/library/typing.rst
JelleZijlstra 5eb2a0c
Update Doc/library/stdtypes.rst
JelleZijlstra 64ac293
Update Doc/library/stdtypes.rst
JelleZijlstra 0ba8551
Merge remote-tracking branch 'upstream/main' into unifyunion
JelleZijlstra aacf2b0
Add __mro_entries__
JelleZijlstra f46c0c6
Improve docs, expose it in _typing
JelleZijlstra 8c04441
Update Doc/library/functools.rst
JelleZijlstra 04df4d0
Merge branch 'main' into unifyunion
JelleZijlstra c363de7
Merge remote-tracking branch 'upstream/main' into unifyunion
JelleZijlstra 98b634a
Post-merge cleanup
JelleZijlstra f2f961b
No need for tp_new
JelleZijlstra 932f8e5
Merge branch 'main' into unifyunion
JelleZijlstra c3edd87
Merge remote-tracking branch 'upstream/main' into unifyunion
JelleZijlstra 9ae102d
Add back doctest
JelleZijlstra e0924c6
Merge branch 'main' into unifyunion
JelleZijlstra 7086879
Merge branch 'main' into unifyunion
JelleZijlstra b0e057f
Merge branch 'main' into unifyunion
JelleZijlstra 55d0c97
Merge branch 'main' into unifyunion
JelleZijlstra 8a80fe0
Fix two issues
JelleZijlstra f910e88
in progress: hashable unions
JelleZijlstra cae36c7
Merge remote-tracking branch 'upstream/main' into unifyunion
JelleZijlstra 65da3f1
fixup
JelleZijlstra f500f5f
Make union support unhashable objects
JelleZijlstra 5f9e599
simplify, extend docs
JelleZijlstra 9927b38
fix more tests
JelleZijlstra eea6eca
another
JelleZijlstra 0785951
change hash
JelleZijlstra 1a39ded
Merge remote-tracking branch 'upstream/main' into unifyunion
JelleZijlstra eddbfde
Merge branch 'main' into unifyunion
JelleZijlstra 3ec9271
Merge branch 'main' into unifyunion
JelleZijlstra cab69f0
tweak docs
JelleZijlstra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix tests
- Loading branch information
commit 8bcb930ac59569157f98efc4508c9f13f2e11503
There are no files selected for viewing
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.