René's URL Explorer Experiment


Title: conformance: Add conformance tests for implementation and platform checks. by Josverl · Pull Request #2375 · python/typing · GitHub

Open Graph Title: conformance: Add conformance tests for implementation and platform checks. by Josverl · Pull Request #2375 · python/typing

X Title: conformance: Add conformance tests for implementation and platform checks. by Josverl · Pull Request #2375 · python/typing

Description: Add conformance tests and results for implementation and platform checks as defined in #2173 Add relevant tests Extend conformance tests documentation Updated existing TOML files to include additional error messages for unresolved references and type assertion failures. This is based on #2173 , once that PR gets squashed / merged this commit will be rebased Trade-offs The some of the added test are hardcoded for: Python version: >= 3.12 Platform: Linux If/when the version or tested platforms for the conformance tests change, these tests will need to be reviewed and likely adjusted. In directives_platform_checks.py: Equality and basic prefix checks: portable. They use "bogus_platform" or the empty prefix. Tuple/set/list membership tests: basic checks are portable, but the guarded positive membership cases require a Linux target. Versioned-platform prefix test: the actual "freebsd" versus "linux" prefix checks require a freebsd13 target. On another target, those guarded tests take an outer else branch containing deliberately expected errors. The file can therefore pass without exercising the Linux-specific or FreeBSD-specific inner checks.

Open Graph Description: Add conformance tests and results for implementation and platform checks as defined in #2173 Add relevant tests Extend conformance tests documentation Updated existing TOML files to include additi...

X Description: Add conformance tests and results for implementation and platform checks as defined in #2173 Add relevant tests Extend conformance tests documentation Updated existing TOML files to include additi...

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

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:60594f96-49ca-f867-1b8c-1a4d6b8b7c91
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD660:3C2A9A:14F637C:1B7E7C0:6B000CF4
html-safe-nonce4c278e0a87789aa156e4f03851aa2fe3899e40aa83623a50318a71ca1f6a6e1d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjYwOjNDMkE5QToxNEY2MzdDOjFCN0U3QzA6NkIwMDBDRjQiLCJ2aXNpdG9yX2lkIjoiNTUxMTc0NjQ4MzUzMzEyMjgwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf711221e0d232abc1b5ac118128aef70221476b38aba74db20edb47478225345
hovercard-subject-tagpull_request:4986526037
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/2375/files
twitter:imagehttps://avatars.githubusercontent.com/u/981654?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/981654?s=400&v=4
og:image:altAdd conformance tests and results for implementation and platform checks as defined in #2173 Add relevant tests Extend conformance tests documentation Updated existing TOML files to include additi...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecf7ee0062053ad9eb05b6e5de57bd96c2055708bcbada4144946b5ec129cf1d7
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
release9cab7de176a56362d2aabcbb4d1e07e846eba8a0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/typing/pull/2375/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F2375%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%2F2375%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/2375/files
Reloadhttps://github.com/python/typing/pull/2375/files
Reloadhttps://github.com/python/typing/pull/2375/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
Josverlhttps://github.com/Josverl
python:mainhttps://github.com/python/typing/tree/main
Josverl:conf/sys_version_platformhttps://github.com/Josverl/typing/tree/conf/sys_version_platform
Conversation 1 https://github.com/python/typing/pull/2375
Commits 10 https://github.com/python/typing/pull/2375/commits
Checks 0 https://github.com/python/typing/pull/2375/checks
Files changed https://github.com/python/typing/pull/2375/files
Please reload this pagehttps://github.com/python/typing/pull/2375/files
conformance: Add conformance tests for implementation and platform checks. https://github.com/python/typing/pull/2375/files#top
Show all changes 10 commits https://github.com/python/typing/pull/2375/files
dea1cd3 Update specification for directives for sys.implementation and sys.pl… Josverl Aug 15, 2026 https://github.com/python/typing/pull/2375/commits/dea1cd31cdd9b89c550d6be137b2e10212d34fe4
51e52c5 Update docs/spec/directives.rst Josverl Aug 15, 2026 https://github.com/python/typing/pull/2375/commits/51e52c5a257fb3b0e7b1e08c4bf6ec2475debe07
5128e74 Clarify language in directives regarding named attribute usage in ver… Josverl Aug 15, 2026 https://github.com/python/typing/pull/2375/commits/5128e7456b4c6bd3d5bb339227e5414ab1449538
f928655 spec/directives: Process review comments. Josverl Aug 15, 2026 https://github.com/python/typing/pull/2375/commits/f928655c466e9326fd0f2a25a36570ab710fc71f
bc8affa spec/directives: Process additional review comments. Josverl Sep 8, 2026 https://github.com/python/typing/pull/2375/commits/bc8affa0bf23224a80e1570bd3ef0447ebd99eb9
41f0b65 spec/directives: Process additional review comments. Josverl Sep 21, 2026 https://github.com/python/typing/pull/2375/commits/41f0b658cb2f5aebe3eae35f2ed5f46b645752a1
a81264b Address review comments and suggestions. Josverl Oct 19, 2026 https://github.com/python/typing/pull/2375/commits/a81264b1f61bbb628c029739233c197e6d3c2530
9f941e3 Add additional version or platform conformance tests. Josverl Oct 23, 2026 https://github.com/python/typing/pull/2375/commits/9f941e31b0e1eb3928e0dda0f9ed565f11991629
13933ad Document version and platform checking conformance approach. Josverl Oct 23, 2026 https://github.com/python/typing/pull/2375/commits/13933ad7758ece5efcd9e5cd2bd52841d16d6bc0
41941f2 Conformance: Add conformance results for implementation and platform … Josverl Oct 23, 2026 https://github.com/python/typing/pull/2375/commits/41941f2f0d824b18cbb4e840710e73291b7c19ec
Clear filters https://github.com/python/typing/pull/2375/files
Please reload this pagehttps://github.com/python/typing/pull/2375/files
Please reload this pagehttps://github.com/python/typing/pull/2375/files
README.md https://github.com/python/typing/pull/2375/files#diff-6fc0c945c88d6e3456671b0a85adefda3a0b7b7569d85744002293fdff50609a
directives_implementation_name.toml https://github.com/python/typing/pull/2375/files#diff-ba0d51901bc94c03f4e2bd42329747433c2a5b1f9e61de63cb8d9558efefac9b
directives_implementation_version.toml https://github.com/python/typing/pull/2375/files#diff-774948b9a2082f6911f40e74cabf048b4bd9f527557316e2fe6965d570ed6db2
directives_platform_checks.toml https://github.com/python/typing/pull/2375/files#diff-4a322563a3beb204a54df6d8d4bdc280bff4023601052d7f265b86415a5b1240
directives_version_platform.toml https://github.com/python/typing/pull/2375/files#diff-9f55474f249b87efef608fb75313483f7cb17bfc40dc132ebedbfc1d80717a66
directives_version_platform_boolean.toml https://github.com/python/typing/pull/2375/files#diff-e380b60937fbd7db77d2be118dc26cc03b78c88559f4ba5c996d55d0cd3c9f92
directives_implementation_name.toml https://github.com/python/typing/pull/2375/files#diff-9ef2263e699343e34c7d3123f0ca1589da5ddf16cd2eab9998f6232661b94c00
directives_implementation_version.toml https://github.com/python/typing/pull/2375/files#diff-ee384693184b0f5f3b745f2ffcbae65e8ccacc184decac04d576e6e838a863f2
directives_platform_checks.toml https://github.com/python/typing/pull/2375/files#diff-89524556ee1586c1ef46355996115f2583b03e2beeec8450416b3c880caa1301
directives_version_platform.toml https://github.com/python/typing/pull/2375/files#diff-703bf0b384b7acac21d101e7c533d56987b43e50d2bef4a5730cbab965bfd665
directives_version_platform_boolean.toml https://github.com/python/typing/pull/2375/files#diff-6f26eef35eeb45fecad257edde1da10c5a871ad86633d4874f4eda1b1913fc42
directives_implementation_name.toml https://github.com/python/typing/pull/2375/files#diff-5230ad67ffaa2518dad92af8dc32d0f5098d9052e742d3ac2726bf121c876d09
directives_implementation_version.toml https://github.com/python/typing/pull/2375/files#diff-b46ff87ec3acdb2d7fd0e514afc8816383cd4eb16477ffbde3904ec9da4d6cdc
directives_platform_checks.toml https://github.com/python/typing/pull/2375/files#diff-681a1e59f403dfbbe46d0d8539350af804601a0c85a278bb1d034a1caef07113
directives_version_platform.toml https://github.com/python/typing/pull/2375/files#diff-58d0e0065228e0962108b7854ac2c02e5373afe9b170b5e00360b6f94e724239
directives_version_platform_boolean.toml https://github.com/python/typing/pull/2375/files#diff-8f1106c54b5f96864472316e90d68cf129f4864342602ad2c7bcb64da4dd2e68
directives_implementation_name.toml https://github.com/python/typing/pull/2375/files#diff-230387876c6a34acf80e6e95213d6e121204607dce9ef111afe0455340d59490
directives_implementation_version.toml https://github.com/python/typing/pull/2375/files#diff-8359e1e6ec12cfc39e9498ecf3617677cf35c489fcd25a04ba76f9c29c634ba6
directives_platform_checks.toml https://github.com/python/typing/pull/2375/files#diff-4d54dfa5892ec2b2bf2d97227827477f79218e9adc98c4cedde7921a51cf8967
directives_version_platform.toml https://github.com/python/typing/pull/2375/files#diff-c211e25785a2d0b612dbb58e7604dcea22307673a26ac5c509d9f7731c823468
directives_version_platform_boolean.toml https://github.com/python/typing/pull/2375/files#diff-99435583667983dc0351fbb0c26096f870d5da25591cd472d2bba007f0769188
results.html https://github.com/python/typing/pull/2375/files#diff-1026e9a5ffcc2a9a0af3bc5b250ce31a9562dc874f49390536bb28e2e129c381
directives_implementation_name.toml https://github.com/python/typing/pull/2375/files#diff-536e3129f3791dd45adeb84baecc23865b7b4fb19c4ecf7550b01497aedb6be0
directives_implementation_version.toml https://github.com/python/typing/pull/2375/files#diff-4b660d63bcf008666ec9dc6f43d3e23731d91081de49da8e603048b64cfa7cbf
directives_platform_checks.toml https://github.com/python/typing/pull/2375/files#diff-40e73dbe1a745e550f1dc6a3b367e595ac64c25a5ac67e6f7d5e204ff5f1c2ad
directives_version_platform.toml https://github.com/python/typing/pull/2375/files#diff-1dc709353b97e0045e97bd1ec60a0a746d15ada0213a816564fe0f41f23be92c
directives_version_platform_boolean.toml https://github.com/python/typing/pull/2375/files#diff-e3e98409867c7d52f31b403d80b86938e3344029c664d7623e300d47d332d980
directives_implementation_name.toml https://github.com/python/typing/pull/2375/files#diff-97729d6c4a0a875548c2208192a750ed1e769ca45cca35e66909009fe88e9cd3
directives_implementation_version.toml https://github.com/python/typing/pull/2375/files#diff-0c00fc016440457f9178c0f1c7acf716b4903a53b36e810267138f91eacbe6e5
directives_platform_checks.toml https://github.com/python/typing/pull/2375/files#diff-1ea2c18944e9c541560ab7b73ac55ec7885fab2ec6273df66eab801a29d86d50
directives_version_platform.toml https://github.com/python/typing/pull/2375/files#diff-d653089fdaf95031285dfb1c8d1e31b6d2140ef7b557a84c45bd9ee06a5ade67
directives_version_platform_boolean.toml https://github.com/python/typing/pull/2375/files#diff-54494ee212b72a9f9d0663f886212231f1a40f6fa8d6c726821e19054ba718c3
directives_implementation_name.py https://github.com/python/typing/pull/2375/files#diff-49ba84f79d245d0207c6e6a0caa3eabb87181c6f829725851a338ac50c54e931
directives_implementation_version.py https://github.com/python/typing/pull/2375/files#diff-c96010801d4dd90ccbc42186551bb12e4b562c1bbca11612c0ac0f4249cd5093
directives_platform_checks.py https://github.com/python/typing/pull/2375/files#diff-c4224282d3cd9d83d65b748207097d4f50c998d8f38398463df8380f4d64c5c0
directives_version_platform.py https://github.com/python/typing/pull/2375/files#diff-0cecc01ffa5e508ab482d3a3ab3b1e4763f7b85fc8159b4d08a9206363dfdcfc
directives_version_platform_boolean.py https://github.com/python/typing/pull/2375/files#diff-2d4fe290f6f1de0883c8776144959367d7de8760473c07a562040164f7ea7b5e
directives.rst https://github.com/python/typing/pull/2375/files#diff-6aaa869bbce63d5ee37202ab4b18343572956318968cfcd5c3ef8cd499a003aa
conformance/README.mdhttps://github.com/python/typing/pull/2375/files#diff-6fc0c945c88d6e3456671b0a85adefda3a0b7b7569d85744002293fdff50609a
View file https://github.com/Josverl/typing/blob/41941f2f0d824b18cbb4e840710e73291b7c19ec/conformance/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typing/pull/2375/{{ revealButtonHref }}
https://github.com/python/typing/pull/2375/files#diff-6fc0c945c88d6e3456671b0a85adefda3a0b7b7569d85744002293fdff50609a
https://github.com/python/typing/pull/2375/files#diff-6fc0c945c88d6e3456671b0a85adefda3a0b7b7569d85744002293fdff50609a
conformance/results/mypy/directives_implementation_name.tomlhttps://github.com/python/typing/pull/2375/files#diff-ba0d51901bc94c03f4e2bd42329747433c2a5b1f9e61de63cb8d9558efefac9b
View file https://github.com/Josverl/typing/blob/41941f2f0d824b18cbb4e840710e73291b7c19ec/conformance/results/mypy/directives_implementation_name.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typing/pull/2375/{{ revealButtonHref }}
conformance/results/mypy/directives_implementation_version.tomlhttps://github.com/python/typing/pull/2375/files#diff-774948b9a2082f6911f40e74cabf048b4bd9f527557316e2fe6965d570ed6db2
View file https://github.com/Josverl/typing/blob/41941f2f0d824b18cbb4e840710e73291b7c19ec/conformance/results/mypy/directives_implementation_version.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typing/pull/2375/{{ revealButtonHref }}
Please reload this pagehttps://github.com/python/typing/pull/2375/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.