-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-89263: Add typing.get_overloads #31716
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
37 commits
Select commit
Hold shift + click to select a range
2ee377d
initial
JelleZijlstra 831b565
Implementation, tests, and docs
JelleZijlstra f03f8a9
fix versionadded
JelleZijlstra 404668a
Merge branch 'main' into funcregistry
JelleZijlstra 7a5b0d1
make get_key_for_callable private
JelleZijlstra 6998255
doc updates; remove unnecessary try-except
JelleZijlstra 26bb908
Merge remote-tracking branch 'upstream/main' into funcregistry
JelleZijlstra f52b757
rename method
JelleZijlstra fc6a925
Don't store singledispatch in the registry
JelleZijlstra b524244
more tests
JelleZijlstra e95558e
and another
JelleZijlstra 31fd72d
fix line length in new tests
JelleZijlstra 7041ad3
Update Doc/library/functools.rst
JelleZijlstra e26b0db
Update Doc/library/typing.rst
JelleZijlstra 1bf89fb
only for overload
JelleZijlstra 83ac432
Merge remote-tracking branch 'upstream/main' into funcregistry
JelleZijlstra dfdbdc7
fix tests
JelleZijlstra e16c8d0
undo stray changes, fix NEWS entry
JelleZijlstra b3d2227
remove extra import
JelleZijlstra 9727eee
Apply suggestions from code review
JelleZijlstra 2e374b8
Apply suggestions from code review
JelleZijlstra ff03b12
Guido's feedback
JelleZijlstra 17f0710
Optimizations suggested by Guido and Alex
JelleZijlstra 2346970
inline _get_firstlineno, store outer objects for classmethod/staticme…
JelleZijlstra f2053a0
use defaultdict
JelleZijlstra b6131ad
another optimization
JelleZijlstra 506bd66
Update Lib/typing.py
JelleZijlstra e9a2100
Merge remote-tracking branch 'upstream/main' into funcregistry
JelleZijlstra 2b1a5cc
Merge remote-tracking branch 'upstream/main' into funcregistry
JelleZijlstra 103bfd4
Simpler implementation (thanks Guido)
JelleZijlstra d453f7f
More comments and tests
JelleZijlstra 450afeb
Merge remote-tracking branch 'upstream/main' into funcregistry
JelleZijlstra ea62287
simplify clear_overloads
JelleZijlstra 905253c
use partial
JelleZijlstra debbf8a
add test
JelleZijlstra 754c134
docs changes (thanks Alex)
JelleZijlstra 1ad8224
Merge remote-tracking branch 'upstream/main' into funcregistry
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
Don't store singledispatch in the registry
- Loading branch information
commit fc6a92579b30aa21e586f0423630b7c233f6804c
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
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.