René's URL Explorer Experiment


Title: typeddicts - update conformance tests according to the spec by Andrej730 · Pull Request #1978 · python/typing · GitHub

Open Graph Title: typeddicts - update conformance tests according to the spec by Andrej730 · Pull Request #1978 · python/typing

X Title: typeddicts - update conformance tests according to the spec by Andrej730 · Pull Request #1978 · python/typing

Description: Added missing tests to typeddicts_operations.py based on the current state of https://typing.python.org/en/latest/spec/typeddict.html#supported-and-unsupported-operations Stumbled upon type checkers having a different behaviour for typed_dict[str], investigated the spec and the spec is clear about type checkers generally rejecting operations with arbitrary strings - so wanted to reflect the spec in conformance tests. Added tests for: Disallowed popitem. Not requires keys - spec allows both behaviours. Extra keys in get and with in - spec is not certain about this, so I guess it allows both behaviours. Operations with variable keys - disallowed descructive and non-destructive operations except .get and in. Added baseline output commit just for a reference - to confirm that there no other typecheckers version changes at play in the updated output. I can remove it before merge to avoid additional diffs.

Open Graph Description: Added missing tests to typeddicts_operations.py based on the current state of https://typing.python.org/en/latest/spec/typeddict.html#supported-and-unsupported-operations Stumbled upon type checker...

X Description: Added missing tests to typeddicts_operations.py based on the current state of https://typing.python.org/en/latest/spec/typeddict.html#supported-and-unsupported-operations Stumbled upon type checker...

Opengraph URL: https://github.com/python/typing/pull/1978

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9071a4c8-879a-5224-7f8d-2aee125c0dfb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA5F4:F5AA9:8EF52E:C08FB2:6AFF9983
html-safe-nonce504ec4f444369cf75f232698942973c5206823b665f787ec5fabbee2bad1e6d7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUY0OkY1QUE5OjhFRjUyRTpDMDhGQjI6NkFGRjk5ODMiLCJ2aXNpdG9yX2lkIjoiMjIxMTkzNjk4Mjc2MDY1OTMzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc63feb58a09d8c548691eebeeb553a0ac8c07d8d5100b8a4cce4fa07f9bf30b7
hovercard-subject-tagpull_request:2469488225
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/typing/pull/1978/files
twitter:imagehttps://avatars.githubusercontent.com/u/9417531?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/9417531?s=400&v=4
og:image:altAdded missing tests to typeddicts_operations.py based on the current state of https://typing.python.org/en/latest/spec/typeddict.html#supported-and-unsupported-operations Stumbled upon type checker...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2c75d045e8c84b51e2ac680086a6dd1eeaf2bc15b82137d22ee5106835d6256c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/typing git https://github.com/python/typing.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id24604008
octolytics-dimension-repository_nwopython/typing
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24604008
octolytics-dimension-repository_network_root_nwopython/typing
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release525b66d22c4f7e6bb8b62934bec198964f7e8b93
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/typing/pull/1978/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F1978%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F1978%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Ftyping
Reloadhttps://github.com/python/typing/pull/1978/files
Reloadhttps://github.com/python/typing/pull/1978/files
Reloadhttps://github.com/python/typing/pull/1978/files
pythonhttps://github.com/python
typinghttps://github.com/python/typing
Codehttps://github.com/python/typing
Issues206 (206)https://github.com/python/typing/issues
Pull requests27 (27)https://github.com/python/typing/pulls
Discussionshttps://github.com/python/typing/discussions
Actionshttps://github.com/python/typing/actions
Security and qualityhttps://github.com/python/typing/security
Insightshttps://github.com/python/typing/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Ftyping%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Ftyping%2Fissues%2Fnew%2Fchoose
Andrej730https://github.com/Andrej730
python:mainhttps://github.com/python/typing/tree/main
Conversation 6 https://github.com/python/typing/pull/1978
Commits 6 https://github.com/python/typing/pull/1978/commits
Checks 0 https://github.com/python/typing/pull/1978/checks
Files changed https://github.com/python/typing/pull/1978/files
Please reload this pagehttps://github.com/python/typing/pull/1978/files
typeddicts - update conformance tests according to the spec https://github.com/python/typing/pull/1978/files#top
Show all changes 6 commits https://github.com/python/typing/pull/1978/files
892ca8f Baseline conformance output before typeddict changes Andrej730 Apr 19, 2025 https://github.com/python/typing/pull/1978/commits/892ca8f3c333a9510de5d8d67f8faf2f1f1fb5d8
7e462db typeddicts - popitem is not allowed Andrej730 Apr 19, 2025 https://github.com/python/typing/pull/1978/commits/7e462db28079dba483a7e7a88a644fcea1155827
29d155a typeddicts - operations with variable keys Andrej730 Apr 19, 2025 https://github.com/python/typing/pull/1978/commits/29d155a688567f88e9b0d8d28750a41e4128827d
d46f0a5 typeddicts - reading not required keys Andrej730 Apr 19, 2025 https://github.com/python/typing/pull/1978/commits/d46f0a57c2c540a7903f0e582b1546310d4642be
baf90aa typeddicts - test unspecified operations with extra keys Andrej730 Apr 19, 2025 https://github.com/python/typing/pull/1978/commits/baf90aa0d960f963608b50e3757a06d76a6975a7
459f25b Update conformance outputs after typeddicts changes Andrej730 Apr 19, 2025 https://github.com/python/typing/pull/1978/commits/459f25b01020ba093c8c31d45867e16cee6e766a
Clear filters https://github.com/python/typing/pull/1978/files
Please reload this pagehttps://github.com/python/typing/pull/1978/files
Please reload this pagehttps://github.com/python/typing/pull/1978/files
typeddicts_operations.toml https://github.com/python/typing/pull/1978/files#diff-5df05627adf8861df9152dc842277e32e86617a02a7cce17d8788d918368770f
version.toml https://github.com/python/typing/pull/1978/files#diff-e4d38c0bb619c9628e04996dade77803d27cd462b19336f47fa42e8b991e5045
typeddicts_operations.toml https://github.com/python/typing/pull/1978/files#diff-3c468519753d2f2a3783a45b1a167ffb20dc7285207edae88534a74af098336f
version.toml https://github.com/python/typing/pull/1978/files#diff-7821102017faa6d7e47f494787d6884cbaef605a05556990b5f2b3d857e5ad7d
typeddicts_operations.toml https://github.com/python/typing/pull/1978/files#diff-5142e18b897e1c8185577ad3cb37d600723600b6fe081c76c362be639de0a1ff
version.toml https://github.com/python/typing/pull/1978/files#diff-02f6ca22bcd17c2c0e46477de7dd3f96c22653672d501465f37eafdbae110ce8
protocols_merging.toml https://github.com/python/typing/pull/1978/files#diff-2ee97452a5d1cc43975996903a594bc35aa0679ecfd97ee6832d7a6e1da62c9b
typeddicts_operations.toml https://github.com/python/typing/pull/1978/files#diff-209c552b8ef1ce3eea112c9f3aab60615b0ab039640a76196761c2c6dae62701
version.toml https://github.com/python/typing/pull/1978/files#diff-07743847060ac908fdc3625920c8983c38650880a0c22a98090c814ca3313ac1
results.html https://github.com/python/typing/pull/1978/files#diff-1026e9a5ffcc2a9a0af3bc5b250ce31a9562dc874f49390536bb28e2e129c381
typeddicts_operations.py https://github.com/python/typing/pull/1978/files#diff-72ba4aec3419728ebd81608bf75fee4c06b956cf362e437b14f5f0797700c7b6
conformance/results/mypy/typeddicts_operations.tomlhttps://github.com/python/typing/pull/1978/files#diff-5df05627adf8861df9152dc842277e32e86617a02a7cce17d8788d918368770f
View file https://github.com/python/typing/blob/459f25b01020ba093c8c31d45867e16cee6e766a/conformance/results/mypy/typeddicts_operations.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typing/pull/1978/{{ revealButtonHref }}
https://github.com/python/typing/pull/1978/files#diff-5df05627adf8861df9152dc842277e32e86617a02a7cce17d8788d918368770f
https://github.com/python/typing/pull/1978/files#diff-5df05627adf8861df9152dc842277e32e86617a02a7cce17d8788d918368770f
conformance/results/mypy/version.tomlhttps://github.com/python/typing/pull/1978/files#diff-e4d38c0bb619c9628e04996dade77803d27cd462b19336f47fa42e8b991e5045
View file https://github.com/python/typing/blob/459f25b01020ba093c8c31d45867e16cee6e766a/conformance/results/mypy/version.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typing/pull/1978/{{ revealButtonHref }}
conformance/results/pyre/typeddicts_operations.tomlhttps://github.com/python/typing/pull/1978/files#diff-3c468519753d2f2a3783a45b1a167ffb20dc7285207edae88534a74af098336f
View file https://github.com/python/typing/blob/459f25b01020ba093c8c31d45867e16cee6e766a/conformance/results/pyre/typeddicts_operations.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typing/pull/1978/{{ revealButtonHref }}
https://github.com/python/typing/pull/1978/files#diff-3c468519753d2f2a3783a45b1a167ffb20dc7285207edae88534a74af098336f
https://github.com/python/typing/pull/1978/files#diff-3c468519753d2f2a3783a45b1a167ffb20dc7285207edae88534a74af098336f
conformance/results/pyre/version.tomlhttps://github.com/python/typing/pull/1978/files#diff-7821102017faa6d7e47f494787d6884cbaef605a05556990b5f2b3d857e5ad7d
View file https://github.com/python/typing/blob/459f25b01020ba093c8c31d45867e16cee6e766a/conformance/results/pyre/version.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typing/pull/1978/{{ revealButtonHref }}
conformance/results/pyright/typeddicts_operations.tomlhttps://github.com/python/typing/pull/1978/files#diff-5142e18b897e1c8185577ad3cb37d600723600b6fe081c76c362be639de0a1ff
View file https://github.com/python/typing/blob/459f25b01020ba093c8c31d45867e16cee6e766a/conformance/results/pyright/typeddicts_operations.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typing/pull/1978/{{ revealButtonHref }}
https://github.com/python/typing/pull/1978/files#diff-5142e18b897e1c8185577ad3cb37d600723600b6fe081c76c362be639de0a1ff
conformance/results/pyright/version.tomlhttps://github.com/python/typing/pull/1978/files#diff-02f6ca22bcd17c2c0e46477de7dd3f96c22653672d501465f37eafdbae110ce8
View file https://github.com/python/typing/blob/459f25b01020ba093c8c31d45867e16cee6e766a/conformance/results/pyright/version.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typing/pull/1978/{{ revealButtonHref }}
conformance/results/pytype/protocols_merging.tomlhttps://github.com/python/typing/pull/1978/files#diff-2ee97452a5d1cc43975996903a594bc35aa0679ecfd97ee6832d7a6e1da62c9b
View file https://github.com/python/typing/blob/459f25b01020ba093c8c31d45867e16cee6e766a/conformance/results/pytype/protocols_merging.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typing/pull/1978/{{ revealButtonHref }}
https://github.com/python/typing/pull/1978/files#diff-2ee97452a5d1cc43975996903a594bc35aa0679ecfd97ee6832d7a6e1da62c9b
https://github.com/python/typing/pull/1978/files#diff-2ee97452a5d1cc43975996903a594bc35aa0679ecfd97ee6832d7a6e1da62c9b
conformance/results/pytype/typeddicts_operations.tomlhttps://github.com/python/typing/pull/1978/files#diff-209c552b8ef1ce3eea112c9f3aab60615b0ab039640a76196761c2c6dae62701
View file https://github.com/python/typing/blob/459f25b01020ba093c8c31d45867e16cee6e766a/conformance/results/pytype/typeddicts_operations.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typing/pull/1978/{{ revealButtonHref }}
https://github.com/python/typing/pull/1978/files#diff-209c552b8ef1ce3eea112c9f3aab60615b0ab039640a76196761c2c6dae62701
conformance/results/pytype/version.tomlhttps://github.com/python/typing/pull/1978/files#diff-07743847060ac908fdc3625920c8983c38650880a0c22a98090c814ca3313ac1
View file https://github.com/python/typing/blob/459f25b01020ba093c8c31d45867e16cee6e766a/conformance/results/pytype/version.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typing/pull/1978/{{ revealButtonHref }}
Please reload this pagehttps://github.com/python/typing/pull/1978/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.