{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2989","repository_url":"https://api.github.com/repos/Microsoft/vscode-python","labels_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2989/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2989/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2989/events","html_url":"https://github.com/Microsoft/vscode-python/issues/2989","id":373067975,"node_id":"MDU6SXNzdWUzNzMwNjc5NzU=","number":2989,"title":"Intellisense not showing docstrings from /lib/site-packages modules in Python 2.7 virtual env","user":{"login":"darrickyee","id":18172544,"node_id":"MDQ6VXNlcjE4MTcyNTQ0","avatar_url":"https://avatars1.githubusercontent.com/u/18172544?v=4","gravatar_id":"","url":"https://api.github.com/users/darrickyee","html_url":"https://github.com/darrickyee","followers_url":"https://api.github.com/users/darrickyee/followers","following_url":"https://api.github.com/users/darrickyee/following{/other_user}","gists_url":"https://api.github.com/users/darrickyee/gists{/gist_id}","starred_url":"https://api.github.com/users/darrickyee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darrickyee/subscriptions","organizations_url":"https://api.github.com/users/darrickyee/orgs","repos_url":"https://api.github.com/users/darrickyee/repos","events_url":"https://api.github.com/users/darrickyee/events{/privacy}","received_events_url":"https://api.github.com/users/darrickyee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-23T15:41:33Z","updated_at":"2018-10-23T15:41:33Z","closed_at":null,"author_association":"NONE","body":"<!-- \r\nDo you have a question instead of a bug report or enhancement request? Please ask it on https://stackoverflow.com/questions/tagged/visual-studio-code+python. \r\n\r\nUnable to install a linter or formatter? 'No installers available'? \r\nWindows - https://stackoverflow.com/questions/4750806/how-do-i-install-pip-on-windows\r\nLinux - https://www.cyberciti.biz/faq/debian-ubuntu-centos-rhel-linux-install-pipclient/ , https://www.tecmint.com/install-pip-in-linux/\r\n\r\nPython configuration issues? Please check https://code.visualstudio.com/docs/python/python-tutorial#_prerequisites\r\n\r\nOtherwise **please** fill in the requested details below. \"XXX\" markers should not be present in the final bug report.\r\n\r\nIf you think a GIF of what is happening would be helpful, consider tools like https://www.cockos.com/licecap/, https://github.com/phw/peek or https://www.screentogif.com/ .\r\n-->\r\n\r\nDocstrings do not appear in Intellisense info for modules living in a virtual environment's /lib/site-packages directory for Python 2.7.11 virtual environment.\r\n\r\nThey DO appear for identical modules in a virtual environment based on Python 3.7.\r\n\r\n## Environment data\r\n\r\n- VS Code version: 1.28.2\r\n- Extension version (available under the Extensions sidebar): 2018.9.1\r\n- OS and version: Windows 7\r\n- Python version (& distribution if applicable, e.g. Anaconda): 2.7.11\r\n- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenv \r\n- Relevant/affected Python packages and their versions: Any in /lib/site-packages\r\n\r\n## Actual behavior\r\n\r\nDocstring does not appear in Intellisense info.\r\n\r\n![Python 2.7](https://i.imgur.com/tvOMBe2.jpg)\r\n\r\n## Expected  behavior\r\n\r\nDocstring appears in Intellisense info.\r\n\r\n![Python 3.7](https://i.imgur.com/aYRSQnP.jpg)\r\n\r\n## Steps to reproduce:\r\n1. Create a Python 2.7.11 virtual environment using virtualenv.\r\n2. Import some module from /lib/site-packages.\r\n3. Type or begin typing an object name from the imported package.\r\n**Result: Docstring does not appear in Intellisense info.**\r\n\r\nModify step 1 by creating a Python 3.7 virtual environment instead and copying the module to that virtual environment's /lib/site-packages.  Docstring should appear in Intellisense after steps 2 and 3."}}
{"actor":{"display_login":"darrickyee"}}