-
-
Notifications
You must be signed in to change notification settings - Fork 32k
bpo-42195: Ensure consistency of Callable's __args__ in collections.abc and typing #23060
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
31 commits
Select commit
Hold shift + click to select a range
2c4a297
Allow subclassing of GenericAlias, fix collections.abc.Callable's Gen…
Fidget-Spinner 588d421
fix typing tests, add hash and eq methods
Fidget-Spinner 050fa13
Fix pickling
Fidget-Spinner f60ea8a
whitespace
Fidget-Spinner 2f3c6dc
Add test specifically for bpo
Fidget-Spinner 2c4508e
update error message
Fidget-Spinner 19d2973
Appease test_site
Fidget-Spinner 3116c8e
Represent Callable __args__ via [tuple[args], result]
Fidget-Spinner f2b593a
add back tests for weakref, styling nits, add news
Fidget-Spinner 93d51e4
remove redundant tuple checks leftover from old code
Fidget-Spinner 327e1a5
Use _PosArgs instead of tuple
Fidget-Spinner e971ccb
Fix typo and news
Fidget-Spinner abd8b98
Refactor C code to use less duplication
Fidget-Spinner 3ddca06
Address most of Guido's reviews (tests failing on purpose)
Fidget-Spinner 1ab59c5
try to revert back to good old flat tuple __args__ days
Fidget-Spinner ee2d2e1
getting even closer
Fidget-Spinner 2015738
finally done
Fidget-Spinner 6704ffd
Update news
Fidget-Spinner 598d29b
Address review partially
Fidget-Spinner c43ebcf
Address review fully, update news and tests, remove try-except block
Fidget-Spinner 37ae3a9
Borrowed references don't need decref
Fidget-Spinner adbfcad
improve _PyArg_NoKwnames error handling, add union and subclass tests
Fidget-Spinner d1dd627
Don't change getargs, use _PyArg_NoKeywords instead
Fidget-Spinner 2c21045
Merge remote-tracking branch 'upstream/master' into abc-callable-ga
Fidget-Spinner 9f71667
remove stray whitespace
Fidget-Spinner a789620
refactor C code, add deprecation warning for 3.9
Fidget-Spinner 1890b37
remove redundant check in C code, and try except in __new__
Fidget-Spinner 4e928c6
remove check
Fidget-Spinner 6b11d33
Loosen type checks for Callable args, cast to PyObject in genericalia…
Fidget-Spinner 4215c3b
update news to mention about removing validation in argtypes
Fidget-Spinner 585bf19
remove commented out code
Fidget-Spinner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
8000
Diff view
fix typing tests, add hash and eq methods
- Loading branch information
commit 588d421984b46da1a07ffb14729d0ce65cc45769
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.