René's URL Explorer Experiment


Title: [1.16 regression] Relative order of property methods changes mypy output · Issue #19224 · python/mypy · GitHub

Open Graph Title: [1.16 regression] Relative order of property methods changes mypy output · Issue #19224 · python/mypy

X Title: [1.16 regression] Relative order of property methods changes mypy output · Issue #19224 · 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":"[1.16 regression] Relative order of property methods changes mypy output","articleBody":"\u003c!--\nIf you're not sure whether what you're experiencing is a mypy bug, please see the \"Question and Help\" form instead.\nPlease consider:\n\n- checking our common issues page: https://mypy.readthedocs.io/en/stable/common_issues.html\n- searching our issue tracker: https://github.com/python/mypy/issues to see if it's already been reported\n- asking on gitter chat: https://gitter.im/python/typing\n-->\n\n**Bug Report**\n\n\u003c!--\nIf you're reporting a problem with a specific library function, the typeshed tracker is better suited for this report: https://github.com/python/typeshed/issues\n\nIf the project you encountered the issue in is open source, please provide a link to the project.\n-->\n\nIn mypy 1.16, the relative ordering of property methods (i.e., `getter`/`setter`/`deleter`) can produce an \"Invalid property setter signature\" error.\n\n**To Reproduce**\n\n[mypy playground with the same example](https://mypy-play.net/?mypy=1.16.0&python=3.13&gist=18c775f7322ed5b9011445f36172dcbf)\n\nHaving an `@deleter` or `@getter` before a `@setter` property method produces an error:\n```python\nclass C:\n    _value: int = 0\n\n    @property\n    def value(self) -> int:\n        return self._value\n\n    @value.deleter\n    def value(self) -> None: ...  # error: Invalid property setter signature  [misc]\n\n    @value.setter\n    def value(self, v: int) -> None: ...\n```\n```\n$ mypy t.py\nmain.py:9: error: Invalid property setter signature  [misc]\nFound 1 error in 1 file (checked 1 source file)\n```\n\nMove the `@value.deleter` method to after `@value.setter` and the error is fixed.\n```python\nclass C:\n    _value: int = 0\n\n    @property\n    def value(self) -> int:\n        return self._value\n\n    @value.setter\n    def value(self, v: int) -> None: ...\n\n    @value.deleter\n    def value(self) -> None: ...\n```\n```\n$ mypy t.py\nSuccess: no issues found in 1 source file\n```\n\n**Expected Behavior**\n\n\u003c!--\nHow did you expect mypy to behave? It’s fine if you’re not sure your understanding is correct.\nWrite down what you thought would happen. If you expected no errors, delete this section.\n-->\n\nThe relative ordering should not alter the output of mypy. I'm not aware of any reason why the ordering should matter and all orderings pass mypy in 1.15.\n\n**Your Environment**\n\n\u003c!-- Include as many relevant details about the environment you experienced the bug in -->\n\n- Mypy version used: 1.16\n- Mypy command-line flags: None\n- Mypy configuration options from `mypy.ini` (and other config files): None\n- Python version used: 3.13\n\n\u003c!-- You can freely edit this text, please remove all the lines you believe are unnecessary. -->\n","author":{"url":"https://github.com/gpauloski","@type":"Person","name":"gpauloski"},"datePublished":"2025-06-04T00:14:46Z","url":"https://github.com/python/mypy/issues/19224"}

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:faf7d118-e314-88e8-38ba-a4b6b17de799
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id864E:2261EB:1492CF2:1AF9267:6B000CB8
html-safe-nonce08dd1c75e5167645bc9e9943a3fa4f32a7cd1bd74bd60afc35ff785fda535a4e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjRFOjIyNjFFQjoxNDkyQ0YyOjFBRjkyNjc6NkIwMDBDQjgiLCJ2aXNpdG9yX2lkIjoiMzY4NjExODc4NTUyMzEyNTQzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf7cc16972a4f11f646920d1381dff30edc07c253e4c9605eca4f3b26c38d6ed2
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/19224
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
Nonecf7ee0062053ad9eb05b6e5de57bd96c2055708bcbada4144946b5ec129cf1d7
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
release9cab7de176a56362d2aabcbb4d1e07e846eba8a0
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/mypy/issues/19224#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fissues%2F19224
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%2F19224
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/19224
Reloadhttps://github.com/python/mypy/issues/19224
Reloadhttps://github.com/python/mypy/issues/19224
https://github.com/python/mypy
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/19224
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/19224
#19248https://github.com/python/mypy/pull/19248
[1.16 regression] Relative order of property methods changes mypy outputhttps://github.com/python/mypy/issues/19224#top
#19248https://github.com/python/mypy/pull/19248
bugmypy got something wronghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22
topic-descriptorsProperties, class vs. instance attributeshttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-descriptors%22
https://github.com/gpauloski
gpauloskihttps://github.com/gpauloski
on Jun 4, 2025https://github.com/python/mypy/issues/19224#issue-3115797817
mypy playground with the same examplehttps://mypy-play.net/?mypy=1.16.0&python=3.13&gist=18c775f7322ed5b9011445f36172dcbf
gpauloskihttps://github.com/gpauloski
bugmypy got something wronghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22
on Jun 4, 2025https://github.com/python/mypy/issues/19224#event-17970068150
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
on Jun 4, 2025https://github.com/python/mypy/issues/19224#issuecomment-2937993390
#18510https://github.com/python/mypy/pull/18510
#18774https://github.com/python/mypy/pull/18774
mypy/mypy/checker.pyhttps://github.com/python/mypy/blob/4fe7d9f8e2b47d95b39426a4ea5c4b39e4b229c6/mypy/checker.py#L677-L683
4fe7d9fhttps://github.com/python/mypy/commit/4fe7d9f8e2b47d95b39426a4ea5c4b39e4b229c6
@ilevkivskyihttps://github.com/ilevkivskyi
sterliakovhttps://github.com/sterliakov
topic-descriptorsProperties, class vs. instance attributeshttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-descriptors%22
on Jun 4, 2025https://github.com/python/mypy/issues/19224#event-17971024692
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
on Jun 4, 2025https://github.com/python/mypy/issues/19224#issuecomment-2939416393
ilevkivskyihttps://github.com/ilevkivskyi
completedhttps://github.com/python/mypy/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#19248https://github.com/python/mypy/pull/19248
on Jun 7, 2025https://github.com/python/mypy/issues/19224#event-18039826134
ilevkivskyihttps://github.com/ilevkivskyi
on Jun 7, 2025https://github.com/python/mypy/issues/19224#event-18039826139
Fix properties with setters after deleters (#19248)https://github.com/python/mypy/commit/4c825e9cc2c777769c244b83bb2c0342c0658c16
#19248https://github.com/python/mypy/pull/19248
4c825e9https://github.com/python/mypy/commit/4c825e9cc2c777769c244b83bb2c0342c0658c16
JukkaLhttps://github.com/JukkaL
on Jun 11, 2025https://github.com/python/mypy/issues/19224#event-18094152053
Fix properties with setters after deleters (#19248)https://github.com/python/mypy/commit/9fb5ff66c51bd971d7a6b1260cc0ec9f1b82cc06
#19248https://github.com/python/mypy/pull/19248
9fb5ff6https://github.com/python/mypy/commit/9fb5ff66c51bd971d7a6b1260cc0ec9f1b82cc06
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/mypy/issues/19224
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/mypy/issues/19224
bugmypy got something wronghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22
topic-descriptorsProperties, class vs. instance attributeshttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-descriptors%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.