Title: Inconsistent results due to stub only being attached to root module · Issue #1533 · microsoft/python-language-server · GitHub
Open Graph Title: Inconsistent results due to stub only being attached to root module · Issue #1533 · microsoft/python-language-server
X Title: Inconsistent results due to stub only being attached to root module · Issue #1533 · microsoft/python-language-server
Description: import unittest.runner as ur import unittest ur.TextTestRunner() unittest.TextTestRunner() Produces different signatures for TextTestRunner(). The reason is that stub has information on all classes in all submodules but it is only attach...
Open Graph Description: import unittest.runner as ur import unittest ur.TextTestRunner() unittest.TextTestRunner() Produces different signatures for TextTestRunner(). The reason is that stub has information on all classes...
X Description: import unittest.runner as ur import unittest ur.TextTestRunner() unittest.TextTestRunner() Produces different signatures for TextTestRunner(). The reason is that stub has information on all classes...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/1533
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Inconsistent results due to stub only being attached to root module","articleBody":"```python\r\nimport unittest.runner as ur\r\nimport unittest\r\nur.TextTestRunner()\r\nunittest.TextTestRunner()\r\n```\r\nProduces different signatures for `TextTestRunner()`. The reason is that stub has information on all classes in all submodules but it is only attached to `unittest` and hence direct use of `runner` shows information from `runner.py` and not from the `unittest` stub.\r\n\r\nPerhaps stub show be attached to all submodules?","author":{"url":"https://github.com/MikhailArkhipov","@type":"Person","name":"MikhailArkhipov"},"datePublished":"2019-09-10T22:43:33Z","url":"https://github.com/microsoft/python-language-server/issues/1533"}
| 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:61fba9be-2011-e570-9e61-c615bf5cd1b7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 94DE:3CBC2:327307:42035B:6AFE5F8D |
| html-safe-nonce | b650431068551f8f1b51aac12a869803875f5bb81f4f5307a75e9b52899812ba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NERFOjNDQkMyOjMyNzMwNzo0MjAzNUI6NkFGRTVGOEQiLCJ2aXNpdG9yX2lkIjoiMzg1MDM2NTg4OTc2OTUyOTIyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 298d6fc711168c685bd7b13d6f0f554c192d1c04cc7c2d7fee5a349115d02591 |
| hovercard-subject-tag | issue:491932965 |
| 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/1533/issue_layout |
| twitter:image | https://opengraph.githubassets.com/87cb22a922cead6799ff98545acdfd8050ca62011cb4fcaea8ea5e20c7a58f8b/microsoft/python-language-server/issues/1533 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/87cb22a922cead6799ff98545acdfd8050ca62011cb4fcaea8ea5e20c7a58f8b/microsoft/python-language-server/issues/1533 |
| og:image:alt | import unittest.runner as ur import unittest ur.TextTestRunner() unittest.TextTestRunner() Produces different signatures for TextTestRunner(). The reason is that stub has information on all classes... |
| 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