René's URL Explorer Experiment


Title: TypeForm incremental inconsistencies · Issue #21587 · python/mypy · GitHub

Open Graph Title: TypeForm incremental inconsistencies · Issue #21587 · python/mypy

X Title: TypeForm incremental inconsistencies · Issue #21587 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

X Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Opengraph URL: https://github.com/python/mypy

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeForm incremental inconsistencies","articleBody":"**Bug Report**\n\nThe following example does not error when running mypy after deleting `.mypy_cache` or when running with `--no-incremental` but does error after editing `b.py`.\nIt seems to be caching `TypeForm` as `type`.\n\n**To Reproduce**\n\n1) Download the code either from the zip archive or code blocks.\n2) Run `mypy`. It outputs `Success: no issues found in 2 source files`\n3) Make a whitespace change to `b.py` (eg add a new line at the end)\n4) Run `mypy`. It outputs the following\n```\nsrc\\b.py:3: error: Argument 1 to \"test\" has incompatible type \"str\"; expected \"type[Never]\"  [arg-type]\nFound 1 error in 1 file (checked 2 source files)\n```\n5) Deleting `.mypy_cache` and running `mypy` or running `mypy --no-incremental` outputs the same as 2.\n\n\n[mypy.zip](https://github.com/user-attachments/files/28592195/mypy.zip)\n\n```python\n# src/a.py\nfrom typing import TypeVar\nfrom typing_extensions import TypeForm\n\nT = TypeVar('T')\n\ndef test(arg: TypeForm[T]) -> None:\n    raise NotImplementedError\n```\n\n```py\n# src/b.py\nfrom a import test\n\ntest(\"int\")\n```\n\n```ini\n\n; mypy.ini\n[mypy]\ndisallow_untyped_defs = True\ncheck_untyped_defs = True\nwarn_return_any = True\npython_version = 3.14\nexplicit_package_bases = True\nmypy_path = $MYPY_CONFIG_FILE_DIR/src\nfiles =\n    src\nenable_incomplete_feature = TypeForm\n```\n\n**Expected Behavior**\n\nI expect the output from mypy to be consistent regardless of caching.\n\n**Your Environment**\n\n- Mypy version used: 2.1.0\n- Python version used: 3.14\n- typing-extensions: 4.15.0\n","author":{"url":"https://github.com/gentlegiantJGC","@type":"Person","name":"gentlegiantJGC"},"datePublished":"2026-06-04T10:55:30Z","url":"https://github.com/python/mypy/issues/21587"}

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/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:d17ac86d-6a76-4154-118f-fa881cecb72d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD7D4:2DB972:2EF5FBF:3E32D66:6B002875
html-safe-nonce912b6bcdb5d34e20980d848c0171aebd13b11aafea6f66e5e6d59508611c1e3e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0Q0OjJEQjk3MjoyRUY1RkJGOjNFMzJENjY6NkIwMDI4NzUiLCJ2aXNpdG9yX2lkIjoiMjkzOTA0MDA5MjMxMzg4ODg4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3eb2c1715a8078397bc10fd7b904e04cdb76bf3472144b314133e50ba8ad211a
hovercard-subject-tagrepository:7053637
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/mypy/issues/21587
twitter:imagehttps://opengraph.githubassets.com/f79ae5636353a0db17350af0a02700f2e9c3bbcf096f9450bf0c369c77cd1022/python/mypy
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f79ae5636353a0db17350af0a02700f2e9c3bbcf096f9450bf0c369c77cd1022/python/mypy
og:image:altOptional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
turbo-cache-controlno-cache
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/mypy/issues/21587#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fissues%2F21587
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%2Fmypy%2Fissues%2F21587
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fissues%2Fshow&source=header-repo&source_repo=python%2Fmypy
Reloadhttps://github.com/python/mypy/issues/21587
Reloadhttps://github.com/python/mypy/issues/21587
Reloadhttps://github.com/python/mypy/issues/21587
https://github.com/python/mypy
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/21587
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/21587
#21591https://github.com/python/mypy/pull/21591
TypeForm incremental inconsistencieshttps://github.com/python/mypy/issues/21587#top
#21591https://github.com/python/mypy/pull/21591
bugmypy got something wronghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22
priority-0-highhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22priority-0-high%22
topic-incrementalhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-incremental%22
topic-type-formTypeForm might fix thishttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-type-form%22
https://github.com/gentlegiantJGC
gentlegiantJGChttps://github.com/gentlegiantJGC
on Jun 4, 2026https://github.com/python/mypy/issues/21587#issue-4588091262
mypy.ziphttps://github.com/user-attachments/files/28592195/mypy.zip
gentlegiantJGChttps://github.com/gentlegiantJGC
bugmypy got something wronghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22
on Jun 4, 2026https://github.com/python/mypy/issues/21587#event-26333524484
https://github.com/gentlegiantJGC
gentlegiantJGChttps://github.com/gentlegiantJGC
on Jun 4, 2026https://github.com/python/mypy/issues/21587#issuecomment-4621482469
@davidfstrhttps://github.com/davidfstr
ilevkivskyihttps://github.com/ilevkivskyi
topic-type-formTypeForm might fix thishttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-type-form%22
topic-incrementalhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-incremental%22
priority-0-highhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22priority-0-high%22
on Jun 4, 2026https://github.com/python/mypy/issues/21587#event-26345703038
ilevkivskyihttps://github.com/ilevkivskyi
on Jun 4, 2026https://github.com/python/mypy/issues/21587#event-26361589315
Add support for TypeForm in incremental mode (#21591)https://github.com/python/mypy/commit/d69ab34a2cd1ea3440fd2690b482d0bc0035c62d
#21591https://github.com/python/mypy/pull/21591
d69ab34https://github.com/python/mypy/commit/d69ab34a2cd1ea3440fd2690b482d0bc0035c62d
ilevkivskyihttps://github.com/ilevkivskyi
completedhttps://github.com/python/mypy/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#21591https://github.com/python/mypy/pull/21591
on Jun 4, 2026https://github.com/python/mypy/issues/21587#event-26361589326
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/mypy/issues/21587
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/mypy/issues/21587
bugmypy got something wronghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22
priority-0-highhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22priority-0-high%22
topic-incrementalhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-incremental%22
topic-type-formTypeForm might fix thishttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-type-form%22
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.