Title: Intellisense doesn't respect __all__ when using `import *` · Issue #494 · microsoft/vscode-python · GitHub
Open Graph Title: Intellisense doesn't respect __all__ when using `import *` · Issue #494 · microsoft/vscode-python
X Title: Intellisense doesn't respect __all__ when using `import *` · Issue #494 · microsoft/vscode-python
Description: Environment data VS Code version: 1.19.1 Python Extension version: 0.9.1 Python Version: 3.6.0 OS and version: Win 10 Actual behavior # A.py import B B. # intellisense shows foo and bar, but accessing bar would FAIL at runtime # B.py fro...
Open Graph Description: Environment data VS Code version: 1.19.1 Python Extension version: 0.9.1 Python Version: 3.6.0 OS and version: Win 10 Actual behavior # A.py import B B. # intellisense shows foo and bar, but access...
X Description: Environment data VS Code version: 1.19.1 Python Extension version: 0.9.1 Python Version: 3.6.0 OS and version: Win 10 Actual behavior # A.py import B B. # intellisense shows foo and bar, but access...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/494
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Intellisense doesn't respect __all__ when using `import *`","articleBody":"## Environment data\r\nVS Code version: 1.19.1\r\nPython Extension version: 0.9.1\r\nPython Version: 3.6.0\r\nOS and version: Win 10\r\n\r\n## Actual behavior\r\n\r\n```py\r\n# A.py\r\nimport B\r\nB. # intellisense shows foo and bar, but accessing bar would FAIL at runtime\r\n\r\n# B.py\r\nfrom C import *\r\n\r\n# C.py\r\n__all__ = ['foo']\r\nfoo = 42\r\nbar = 24\r\n```\r\n\r\n## Expected behavior\r\n\r\nWith the code above intellisense should only show `foo`.\r\n ","author":{"url":"https://github.com/letmaik","@type":"Person","name":"letmaik"},"datePublished":"2017-12-29T16:22:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/494/vscode-python/issues/494"}
| 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:f2367d23-8b17-0634-9305-2984d90b321c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D024:15CE34:C7AED:11B910:6A50EEF7 |
| html-safe-nonce | a258498be9ae7899a1c55fdf9bc92a89418550baa8c1d283ad60ddd5ad209178 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDI0OjE1Q0UzNDpDN0FFRDoxMUI5MTA6NkE1MEVFRjciLCJ2aXNpdG9yX2lkIjoiNTE0NDYxNTAxMDEwMDEzOTQzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a2bd8ee9d8788d594d3e3f81f6f5bb8bff42183d2862cc4fe922e7cf372c51b7 |
| hovercard-subject-tag | issue:285118946 |
| 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/vscode-python/494/issue_layout |
| twitter:image | https://opengraph.githubassets.com/15e64ba5a8630d6d47575b34f75d82c6702efac8ba71b2394714bcdc862bf14f/microsoft/vscode-python/issues/494 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/15e64ba5a8630d6d47575b34f75d82c6702efac8ba71b2394714bcdc862bf14f/microsoft/vscode-python/issues/494 |
| og:image:alt | Environment data VS Code version: 1.19.1 Python Extension version: 0.9.1 Python Version: 3.6.0 OS and version: Win 10 Actual behavior # A.py import B B. # intellisense shows foo and bar, but access... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | letmaik |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5266e58c17a510c403505cc811606465e90a881d2007ee7df1c4800d5c659838 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 106462765 |
| octolytics-dimension-repository_nwo | microsoft/vscode-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 49946255 |
| octolytics-dimension-repository_parent_nwo | DonJayamanne/pythonVSCode |
| octolytics-dimension-repository_network_root_id | 49946255 |
| octolytics-dimension-repository_network_root_nwo | DonJayamanne/pythonVSCode |
| 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 | 5ec60191a48933536a90c8a19f47142fcd0d4739 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width