Title: Fine-grained: Failure to propagate change of module to variable · Issue #4595 · python/mypy · GitHub
Open Graph Title: Fine-grained: Failure to propagate change of module to variable · Issue #4595 · python/mypy
X Title: Fine-grained: Failure to propagate change of module to variable · Issue #4595 · python/mypy
Description: This fine-grained incremental mode test case fails (it generates no errors after update): [case testChangeModuleToVariable] from a import m m.x [file a.py] from b import m [file b.py] import m [file b.py.2] m = '' [file m.py] x = 1 [file...
Open Graph Description: This fine-grained incremental mode test case fails (it generates no errors after update): [case testChangeModuleToVariable] from a import m m.x [file a.py] from b import m [file b.py] import m [fil...
X Description: This fine-grained incremental mode test case fails (it generates no errors after update): [case testChangeModuleToVariable] from a import m m.x [file a.py] from b import m [file b.py] import m [fil...
Opengraph URL: https://github.com/python/mypy/issues/4595
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fine-grained: Failure to propagate change of module to variable","articleBody":"This fine-grained incremental mode test case fails (it generates no errors after update):\r\n\r\n```\r\n[case testChangeModuleToVariable]\r\nfrom a import m\r\nm.x\r\n[file a.py]\r\nfrom b import m\r\n[file b.py]\r\nimport m\r\n[file b.py.2]\r\nm = ''\r\n[file m.py]\r\nx = 1\r\n[file m2.py]\r\n[out]\r\n==\r\nmain:2: error: \"str\" has no attribute \"x\"\r\n```\r\n\r\nAnalysis: `\u003ca.m>` doesn't get triggered when processing `a`. This is likely caused by not using symbol table snapshot comparison to detect changes in `a` when propagating changes. We correctly use snapshot comparison when processing a module source change but not when propagating changes using fine-grained dependencies.","author":{"url":"https://github.com/JukkaL","@type":"Person","name":"JukkaL"},"datePublished":"2018-02-20T15:27:52Z","url":"https://github.com/python/mypy/issues/4595"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f4579e8a-8ea0-a8d5-6a66-3bd53dd51ce7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E246:2DB985:D93CE:130E3D:6B00635C |
| html-safe-nonce | 68d68b39f29a06c0318a3915f4cf8b7c74fdf7bbae7dfa1799cceebd6cf2b8e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjQ2OjJEQjk4NTpEOTNDRToxMzBFM0Q6NkIwMDYzNUMiLCJ2aXNpdG9yX2lkIjoiOTE2NzI5NjkyODQ1MzUxODE3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 24d694d4ee23159acc88f282cbb5c0010182b07d0009f2e8e8c35fb49d300aea |
| hovercard-subject-tag | issue:298636131 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/mypy/4595/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4b5d33cdd168ceb9afdd6e1f5392ba293f92fa27193dc7c4de2dbf976e2310ee/python/mypy/issues/4595 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4b5d33cdd168ceb9afdd6e1f5392ba293f92fa27193dc7c4de2dbf976e2310ee/python/mypy/issues/4595 |
| og:image:alt | This fine-grained incremental mode test case fails (it generates no errors after update): [case testChangeModuleToVariable] from a import m m.x [file a.py] from b import m [file b.py] import m [fil... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JukkaL |
| hostname | github.com |
| expected-hostname | github.com |
| None | 25854482a1773a7c1ebb8be3d2bc1c6e61d82d78126be63b5044474a86d44d9e |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e4f5c239e31f1f680e6bbc419ff92d774da616ec |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width