Title: Analysis of stub should lead to immediate analysis of primary module. · Issue #1753 · microsoft/python-language-server · GitHub
Open Graph Title: Analysis of stub should lead to immediate analysis of primary module. · Issue #1753 · microsoft/python-language-server
X Title: Analysis of stub should lead to immediate analysis of primary module. · Issue #1753 · microsoft/python-language-server
Description: Consider case when module A has stub As which, in turn, imports Bs. Bs has primary B module. A does not directly imports B. Currently chain Bs -> As -> A may end up processed first and Bs -> B second (they may run in parallel). This mean...
Open Graph Description: Consider case when module A has stub As which, in turn, imports Bs. Bs has primary B module. A does not directly imports B. Currently chain Bs -> As -> A may end up processed first and Bs -> B seco...
X Description: Consider case when module A has stub As which, in turn, imports Bs. Bs has primary B module. A does not directly imports B. Currently chain Bs -> As -> A may end up processed first and Bs -&g...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/1753
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Analysis of stub should lead to immediate analysis of primary module.","articleBody":"Consider case when module `A` has stub `As` which, in turn, imports `Bs`. `Bs` has primary `B` module. `A` does not directly imports `B`. \r\n\r\nCurrently chain `Bs -> As -> A` may end up processed first and `Bs -> B` second (they may run in parallel). This means `A` may get types from `Bs` before `Bs` merges with `B` and stub types acquire locations and documentation. If `A` consumes specific type off generic in `Bs` the resulting specific type documentation or its generic status may be different from if it was created _after_ `B` merges with `Bs`.\r\n\r\nThis affects restoration of modules from database when restored documentation occasionally does not match the one in memory. This is not a huge deal, but some tests may randomly fail. For example, `String` module or `Site`.\r\n\r\nOne possibility is to have `B` added as a dependency to `A` (ghost import) if `A` happens to depend on `Bs`.","author":{"url":"https://github.com/MikhailArkhipov","@type":"Person","name":"MikhailArkhipov"},"datePublished":"2019-11-06T04:26:28Z","url":"https://github.com/microsoft/python-language-server/issues/1753"}
| 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:99d0d2ad-55fd-eb2f-252f-f4d5a26ac9b2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C110:2A16C9:24D3A9:3027D8:6AFE5C16 |
| html-safe-nonce | 1b88439a518059b40e85b0ef1f9f6ba280dcef0303657d8fd1500e69bc2f711f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTEwOjJBMTZDOToyNEQzQTk6MzAyN0Q4OjZBRkU1QzE2IiwidmlzaXRvcl9pZCI6IjE5MDAwMTg5MjU2Njg1NTU3OTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d39f9968b98a01bd667ebeb9d313a2473d700502a8f9b690299245942ed3526d |
| hovercard-subject-tag | issue:518228385 |
| 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/microsoft/python-language-server/1753/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c7d620086e3bf649f870ba540ce839b30130b5f03f08ee8710c26375f0d922a5/microsoft/python-language-server/issues/1753 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c7d620086e3bf649f870ba540ce839b30130b5f03f08ee8710c26375f0d922a5/microsoft/python-language-server/issues/1753 |
| og:image:alt | Consider case when module A has stub As which, in turn, imports Bs. Bs has primary B module. A does not directly imports B. Currently chain Bs -> As -> A may end up processed first and Bs -> B seco... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MikhailArkhipov |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 145901977 |
| octolytics-dimension-repository_nwo | microsoft/python-language-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145901977 |
| octolytics-dimension-repository_network_root_nwo | microsoft/python-language-server |
| 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 | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width