-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-101688: Implement types.get_original_bases #101827
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 all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
50707ba
Implement typing.get_orig_class and get_orig_bases
Gobot1234 4fef9f8
📜🤖 Added by blurb_it.
blurb-it[bot] 4cb193d
Apparently my lsp wasn't working
Gobot1234 44d3ae9
Removing trailing whitespace
Gobot1234 59e9ac2
Fix test failure
Gobot1234 20024e9
Merge branch 'main' into orig_class-and-bases
Gobot1234 769fdbd
Fix typo
Gobot1234 7194d3e
Respond to initial review
Gobot1234 eeb4475
Remove trailing ws
Gobot1234 198dc08
Respond to second round of review
Gobot1234 695cf93
Fix typo
Gobot1234 cc11033
Fix last few comments
Gobot1234 a66282b
Merge remote-tracking branch 'upstream/main' into orig_class-and-bases
Gobot1234 d3768ba
Merge branch 'main' into orig_class-and-bases
Gobot1234 581a91a
Apply suggestions from code review
Gobot1234 fb15427
Remove typing.get_orig_class
Gobot1234 96b9536
Merge remote-tracking branch 'origin/orig_class-and-bases' into orig_…
Gobot1234 6c38e4d
Remove old test
Gobot1234 372bd6b
Rename to get_original_bases
Gobot1234 a6fe8ac
Autoformatting is fun
Gobot1234 2b71b74
Fix more suggestions
Gobot1234 e7635c6
Remove rawstring
Gobot1234 42e1668
Apply suggestions from code review
Gobot1234 1040478
Fix `test_types` failures
AlexWaygood 8085258
Apply suggestions from code review
Gobot1234 b9bf4fd
Add a whatsnew entry
Gobot1234 ee59cbd
Update Lib/types.py
Gobot1234 e5a91a5
Update Doc/library/types.rst
Gobot1234 7bad429
Merge branch 'main' into orig_class-and-bases
AlexWaygood 2a39055
Merge branch 'main' into orig_class-and-bases
Gobot1234 1ea82be
Remove trailing WS
Gobot1234 1cb14c2
Fix more trailing WS
Gobot1234 6f06c52
Fallback to __bases__
Gobot1234 689267a
Update missing docs
Gobot1234 1ae16ea
Apply suggestions from code review
Gobot1234 3a8619a
Update Doc/library/types.rst
Gobot1234 e1d55d6
Merge remote-tracking branch 'upstream/main' into orig_class-and-bases
AlexWaygood bab8cb3
Small tweaks to docs
AlexWaygood fb9ef70
Use `assert` in docs examples
AlexWaygood dc433c4
Document type.__orig_bases__
Gobot1234 4268b74
Revert "Document type.__orig_bases__"
Gobot1234 9f54ac1
Update Doc/library/types.rst
Gobot1234 c122b23
Hone docs more
AlexWaygood 2134053
Merge remote-tracking branch 'upstream/main' into orig_class-and-bases
AlexWaygood cb21a65
More tests and docs following #103698
AlexWaygood 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
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
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
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Library/2023-02-11-15-01-32.gh-issue-101688.kwXmfM.rst
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Implement :func:`types.get_original_bases` to provide further introspection | ||
for types. |
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.