René's URL Explorer Experiment


Title: Crash in fine grained mode likely related to enums · Issue #4596 · python/mypy · GitHub

Open Graph Title: Crash in fine grained mode likely related to enums · Issue #4596 · python/mypy

X Title: Crash in fine grained mode likely related to enums · Issue #4596 · python/mypy

Description: Here is a traceback: Traceback (most recent call last): File "[somewhere]/mypy/dmypy_server.py", line 135, in serve resp = self.run_command(command, data) File "[somewhere]/mypy/dmypy_server.py", line 169, in run_command return method(se...

Open Graph Description: Here is a traceback: Traceback (most recent call last): File "[somewhere]/mypy/dmypy_server.py", line 135, in serve resp = self.run_command(command, data) File "[somewhere]/mypy/dmypy_server.py", l...

X Description: Here is a traceback: Traceback (most recent call last): File "[somewhere]/mypy/dmypy_server.py", line 135, in serve resp = self.run_command(command, data) File "[somewhere]/mypy/dmyp...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Crash in fine grained mode likely related to enums","articleBody":"Here is a traceback:\r\n```\r\nTraceback (most recent call last):\r\n  File \"[somewhere]/mypy/dmypy_server.py\", line 135, in serve\r\n    resp = self.run_command(command, data)\r\n  File \"[somewhere]/mypy/dmypy_server.py\", line 169, in run_command\r\n    return method(self, **data)\r\n  File \"[somewhere]/mypy/dmypy_server.py\", line 200, in cmd_check\r\n    return self.check(self.last_sources)\r\n  File \"[somewhere]/mypy/dmypy_server.py\", line 214, in check\r\n    return self.check_fine_grained(sources)\r\n  File \"[somewhere]/mypy/dmypy_server.py\", line 246, in check_fine_grained\r\n    return self.initialize_fine_grained(sources)\r\n  File \"[somewhere]/mypy/dmypy_server.py\", line 291, in initialize_fine_grained\r\n    messages = self.fine_grained_manager.update(changed)\r\n  File \"[somewhere]/mypy/server/update.py\", line 222, in update\r\n    result = self.update_single(next_id, next_path)\r\n  File \"[somewhere]/mypy/server/update.py\", line 264, in update_single\r\n    result = update_single_isolated(module, path, manager, previous_modules)\r\n  File \"[somewhere]/mypy/server/update.py\", line 437, in update_single_isolated\r\n    replace_modules_with_new_variants(manager, graph, old_modules, new_modules)\r\n  File \"[somewhere]/mypy/server/update.py\", line 702, in replace_modules_with_new_variants\r\n    new_module, new_module.names)\r\n  File \"[somewhere]/mypy/server/astmerge.py\", line 85, in merge_asts\r\n    node = replace_nodes_in_ast(new, replacement_map)\r\n  File \"[somewhere]/mypy/server/astmerge.py\", line 130, in replace_nodes_in_ast\r\n    node.accept(visitor)\r\n  File \"[somewhere]/mypy/nodes.py\", line 230, in accept\r\n    return visitor.visit_mypy_file(self)\r\n  File \"[somewhere]/mypy/server/astmerge.py\", line 151, in visit_mypy_file\r\n    super().visit_mypy_file(node)\r\n  File \"[somewhere]/mypy/traverser.py\", line 30, in visit_mypy_file\r\n    d.accept(self)\r\n  File \"[somewhere]/mypy/nodes.py\", line 931, in accept\r\n    return visitor.visit_if_stmt(self)\r\n  File \"[somewhere]/mypy/traverser.py\", line 114, in visit_if_stmt\r\n    o.else_body.accept(self)\r\n  File \"[somewhere]/mypy/nodes.py\", line 766, in accept\r\n    return visitor.visit_block(self)\r\n  File \"[somewhere]/mypy/server/astmerge.py\", line 154, in visit_block\r\n    super().visit_block(node)\r\n  File \"[somewhere]/mypy/traverser.py\", line 34, in visit_block\r\n    s.accept(self)\r\n  File \"[somewhere]/mypy/nodes.py\", line 704, in accept\r\n    return visitor.visit_class_def(self)\r\n  File \"[somewhere]/mypy/server/astmerge.py\", line 176, in visit_class_def\r\n    self.process_type_info(node.info)\r\n  File \"[somewhere]/mypy/server/astmerge.py\", line 264, in process_type_info\r\n    replace_nodes_in_symbol_table(info.names, self.replacements)\r\nAttributeError: 'NoneType' object has no attribute 'names'\r\n```\r\nUnfortunately, there is no simple repro. The only hint is that this likely related to `Enum` and/or `IntEnum` (or a class being changed from a normal class to enum).","author":{"url":"https://github.com/ilevkivskyi","@type":"Person","name":"ilevkivskyi"},"datePublished":"2018-02-20T15:59:53Z","url":"https://github.com/python/mypy/issues/4596"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7becf625-a61f-04a6-c9b6-a4383b8cedba
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBD5E:22E601:BF4707:100753D:6B004DC9
html-safe-nonce79bec564092fd4a1619dfe1d1182f40bcd48da82be04ad290f13889c35e6fcff
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDVFOjIyRTYwMTpCRjQ3MDc6MTAwNzUzRDo2QjAwNERDOSIsInZpc2l0b3JfaWQiOiI1MzgwODA4NDI2OTIwMTAzMzY5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac79fde014ddea7bb9f35e93199787e42750f5458c11e4406516537559702474f9
hovercard-subject-tagissue:298648764
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/mypy/4596/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3e8a7fdd6b20458620da7c8bf4eba8bb859f8ec47c30a656d6a74bf57590cc4e/python/mypy/issues/4596
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3e8a7fdd6b20458620da7c8bf4eba8bb859f8ec47c30a656d6a74bf57590cc4e/python/mypy/issues/4596
og:image:altHere is a traceback: Traceback (most recent call last): File "[somewhere]/mypy/dmypy_server.py", line 135, in serve resp = self.run_command(command, data) File "[somewhere]/mypy/dmypy_server.py", l...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameilevkivskyi
hostnamegithub.com
expected-hostnamegithub.com
Nonef9517bf360d46638a1e5e7daee7158842fe5ef43c9000afa0e127564a7c2f39b
turbo-cache-controlno-preview
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
releaseb27c5dde30676028abd5c5fc53ce5c9b625f8281
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/mypy/issues/4596#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fissues%2F4596
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%2F4596
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fmypy
Reloadhttps://github.com/python/mypy/issues/4596
Reloadhttps://github.com/python/mypy/issues/4596
Reloadhttps://github.com/python/mypy/issues/4596
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests546 (546)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/4596
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/4596
Crash in fine grained mode likely related to enumshttps://github.com/python/mypy/issues/4596#top
https://github.com/JukkaL
crashhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22crash%22
priority-0-highhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22priority-0-high%22
topic-fine-grained-incrementalhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-fine-grained-incremental%22
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
on Feb 20, 2018https://github.com/python/mypy/issues/4596#issue-298648764
ilevkivskyihttps://github.com/ilevkivskyi
crashhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22crash%22
topic-fine-grained-incrementalhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-fine-grained-incremental%22
on Feb 20, 2018https://github.com/python/mypy/issues/4596#event-1482743425
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
on Feb 21, 2018https://github.com/python/mypy/issues/4596#issuecomment-367334213
JukkaLhttps://github.com/JukkaL
priority-0-highhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22priority-0-high%22
on Feb 21, 2018https://github.com/python/mypy/issues/4596#event-1484712145
JukkaLhttps://github.com/JukkaL
on Feb 21, 2018https://github.com/python/mypy/issues/4596#event-1484712245
JukkaLhttps://github.com/JukkaL
on Feb 21, 2018https://github.com/python/mypy/issues/4596#event-1484740875
Fine-grained: Fix crash caused by unreachable classhttps://github.com/python/mypy/commit/a65996e89cfc5ebd363748cff0a68f0a5533c0f4
https://docs.github.com/articles/closing-issues-via-commit-messages
a65996ehttps://github.com/python/mypy/commit/a65996e89cfc5ebd363748cff0a68f0a5533c0f4
gvanrossumhttps://github.com/gvanrossum
completedhttps://github.com/python/mypy/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#4613https://github.com/python/mypy/pull/4613
on Feb 21, 2018https://github.com/python/mypy/issues/4596#event-1485037122
gvanrossumhttps://github.com/gvanrossum
on Feb 21, 2018https://github.com/python/mypy/issues/4596#event-1485037406
Fine-grained: Fix crash caused by unreachable class (#4613)https://github.com/python/mypy/commit/b2dd5088d30757f8cb37ecbf91636132e72a18b6
#4613https://github.com/python/mypy/pull/4613
https://docs.github.com/articles/closing-issues-via-commit-messages
b2dd508https://github.com/python/mypy/commit/b2dd5088d30757f8cb37ecbf91636132e72a18b6
yedpodtrzitkohttps://github.com/yedpodtrzitko
on Mar 15, 2018https://github.com/python/mypy/issues/4596#event-1523014488
Fine-grained: Fix crash caused by unreachable class (python#4613)https://github.com/kiwicom/mypy/commit/a685d57e6335eb94ad8e5a163157e5a3a3617647
python#4613https://github.com/python/mypy/pull/4613
https://docs.github.com/articles/closing-issues-via-commit-messages
a685d57https://github.com/kiwicom/mypy/commit/a685d57e6335eb94ad8e5a163157e5a3a3617647
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/mypy/issues/4596
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/mypy/issues/4596
JukkaLhttps://github.com/JukkaL
crashhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22crash%22
priority-0-highhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22priority-0-high%22
topic-fine-grained-incrementalhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-fine-grained-incremental%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.