-
-
Notifications
You must be signed in to change notification settings - Fork 120
Fix Union[..., NoneType]
injection by get_type_hints
if a None
default value is used.
#482
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
26 commits
Select commit
Hold shift + click to select a range
376ae56
Fix get_type_hints with None default interaction
Daraan 24c5602
moved section
Daraan 7f000b1
removed empty line
Daraan 8cc4464
Restructured tests and applied suggested changes
Daraan 881ffee
+1 test and formatting
Daraan 58082b9
Increase test coverage
Daraan 5c94bd6
use key access and not values
Daraan b42e203
str test passes as well
Daraan ed552e4
removed invalid 3.8 code
Daraan 313ddd8
Extended tests
Daraan 3ba4ee7
refinement of tests, more tests with aliases
Daraan 6ffcd23
Merge 'main' into get_type_hints
Daraan 403e7ce
Merge branch 'main' into get_type_hints
Daraan 52c93e9
Add comment for special case
Daraan a1777f3
Assure UnionType stays UnionType; check repr only
Daraan 9e59796
Update src/test_typing_extensions.py
Daraan 1761a43
Merge remote-tracking branch 'upstream/main' into get_type_hints
Daraan 54b8eb0
Corrected and clarified case
Daraan 5612f6f
Merge remote-tracking branch 'upstream/main' into get_type_hints
Daraan 91075ff
Merge branch 'main' into get_type_hints
Daraan 1eac721
Merge branch 'main' into get_type_hints
Daraan 1f84c68
Merge branch 'main' into get_type_hints
Daraan 214dfef
Merge branch 'main' into get_type_hints
Daraan 00dedc2
Merge branch 'main' into get_type_hints
Daraan e929085
Merge branch 'main' into get_type_hints
Daraan 47e47ad
Merge branch 'main' into get_type_hints
Daraan 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
Oops, something went wrong.
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.