GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Implement support for closed TypedDicts (PEP 728) by alicederyn · Pull Request #21382 · python/mypy Implement support for closed TypedDicts (PEP 728) #21382New issueHave 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
Uh oh!
There was an error while loading. Please reload this page.
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
fa59235
Support nested special forms in functional syntax
alicederyn c06fef7
Subtypes fix: required keys must remain required
alicederyn 4a82d3c
Meet fix: mutable keys must remain mutable
alicederyn ca099f4
Improve TypedDict meet
alicederyn f79ba70
Join fix: readonly keys must remain readonly
alicederyn 2ed7992
Improve TypedDict join
alicederyn ab1a151
Expand TypedDict subclassing tests
alicederyn e626c19
Support type refinement in TypedDict subclasses
alicederyn d8c619d
Fix TypeAnalyser to retain readonly keys
alicederyn e7372e4
Narrow on explicitly uninhabited keys
alicederyn c7115c1
Support parsing TypedDict closed keyword
alicederyn bce4b17
Implement closed support in TypedDict subtyping
alicederyn 90cb21f
Implement closed support in subclassing
alicederyn 4106525
Implement closed support in join logic
alicederyn 6cc0d63
Implement closed support in meet logic
alicederyn 5bfcc43
Implement closed support in narrowing
alicederyn d7449df
Implement TypeVar support in narrowing
alicederyn 2621704
Implement closed support in astdiff
alicederyn 34a13de
Implement closed support in stubgen
alicederyn 87ede99
Implement closed support in serialization
alicederyn bbdd827
Implement closed support in TypeAnalyser
alicederyn c1ff8b3
Implement closed support in unpacking
alicederyn ca5a13f
Implement closed support in expandtype
alicederyn 4d3a7b0
Implement closed support in get method
alicederyn 877e000
Merge branch 'master' into closed.keyword
alicederyn 6f3291b
Fix bug with join and Any
alicederyn 776eb10
Fix bug with meet and Any
alicederyn 05d3a4b
Refactor common logic into zipall
alicederyn 022a501
Fix assumption that missing items are ReadOnly
alicederyn bd05e88
Allow adding Never items to closed subtypes
alicederyn d102505
Reword not-required compatibility error messages
alicederyn 9279a01
Test case from no error to error
alicederyn 2d1333c
Delay subtype validation to TypeChecker
alicederyn 4ee7856
Add closed keyword to TypedDict docs
alicederyn 8bcc243
Store validation information in TypeInfo
alicederyn 77e8a59
Link TypedDict branch narrowing to test cases
alicederyn 4261abb
Remove references to 'MRO'
alicederyn 8d92a10
Extend subclass tests with subtype checks
alicederyn 37481a2
Merge branch 'master' into closed.keyword
alicederyn 42ec16f
Manually wrap strings/comments
alicederyn 5cbb687
Remove unnecessary extra newline
alicederyn 31b5045
Document new TypedDict inheritance rules
alicederyn fbd2818
Merge branch 'master' into closed.keyword
alicederyn File filterConversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page. Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page. Diff viewDiff view
Remove references to 'MRO'
We are only looking at immediate bases, so 'MRO' is misleading. Revert to previous framing as just "reverse order".
Uh oh!
There was an error while loading. Please reload this page.
commit 4261abb8235ce1baeaf71cdbff4e729a0d4476e9
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||