Title: PTH files support · Issue #537 · microsoft/python-language-server · GitHub
Open Graph Title: PTH files support · Issue #537 · microsoft/python-language-server
X Title: PTH files support · Issue #537 · microsoft/python-language-server
Description: jaredcm commented on Mon Dec 17 2018 Environment data VS Code version: Version 1.30.0 (1.30.0) Extension version (available under the Extensions sidebar): 2018.12.1 OS and version: Mac OS 10.14.1 Python version (& distribution if applica...
Open Graph Description: jaredcm commented on Mon Dec 17 2018 Environment data VS Code version: Version 1.30.0 (1.30.0) Extension version (available under the Extensions sidebar): 2018.12.1 OS and version: Mac OS 10.14.1 P...
X Description: jaredcm commented on Mon Dec 17 2018 Environment data VS Code version: Version 1.30.0 (1.30.0) Extension version (available under the Extensions sidebar): 2018.12.1 OS and version: Mac OS 10.14.1 P...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/537
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PTH files support","articleBody":"@jaredcm commented on [Mon Dec 17 2018](https://github.com/Microsoft/vscode-python/issues/3727)\n\n\u003c!-- \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\n## Environment data\r\n\r\n- VS Code version: Version 1.30.0 (1.30.0)\r\n- Extension version (available under the Extensions sidebar): 2018.12.1\r\n- OS and version: Mac OS 10.14.1\r\n- Python version (& distribution if applicable, e.g. Anaconda): 3.7 cPython\r\n- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): pyenv\r\n- Relevant/affected Python packages and their versions: None\r\n\r\n## Expected behaviour\r\n\r\nAdding custom locations to `.pth` file should be resolved by the Python intellisense.\r\n\r\n## Actual behaviour\r\n\r\nI have a custom package that is in a subdirectory of my project. I want Python to resolve it as if it were an installed module. \r\n\r\nThe project is setup as such.\r\nos_path\r\n-|+- project_dir\r\n--|+- bin\r\n---|+- test.py\r\n--|+- lib\r\n---|+- custom_module\r\n----|+- \\_\\_init\\_\\_.py\r\n\r\nIn the python 3.7 site-packages directory I have a `.pth` file with something like the following contents.\r\n{os_dir}/{project_dir}\r\n{os_dir}/{project_dir}/lib\r\n\r\nIn Python this resolves without issue and so I can do.\r\n\r\n```\r\nPython 3.7.0 (default, Aug 21 2018, 11:16:24) \r\n[Clang 9.1.0 (clang-902.0.39.2)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import custom_module\r\n>>> custom_module.test()\r\nHello\r\n```\r\n\r\nIf I create a test.py file in the project's bin directory like so:\r\n\r\n```\r\n\"\"\"This is a test.\"\"\"\r\nimport custom_module\r\ncustom_module.test()\r\n```\r\n\r\nIn VSCode I get unresolved import:\r\n\r\n{\r\n\t\"resource\": \"/{os_path}/{project_dir}/bin/test.py\",\r\n\t\"owner\": \"_generated_diagnostic_collection_name_#0\",\r\n\t\"code\": \"unresolved-import\",\r\n\t\"severity\": 4,\r\n\t\"message\": \"unresolved import 'custom_module'\",\r\n\t\"source\": \"Python\",\r\n\t\"startLineNumber\": 2,\r\n\t\"startColumn\": 8,\r\n\t\"endLineNumber\": 2,\r\n\t\"endColumn\": 21\r\n}\r\n\r\nIf I switch the import to lib.{custom_module} then the module resolution works. I'm guessing this is because VSCode adds the workspace to the PYTHONPATH.\r\n\r\n## Steps to reproduce:\r\n1. Setup a project with a module that is +1 level deep in the project. i.e. lib/custom_module/\\_\\_init\\_\\_.py\r\n2. Add a test function for resolution to \\_\\_init\\_\\_.py\r\n\r\n```\r\n\"\"\"This is a test.\"\"\"\r\n\r\n\r\ndef test() -> None:\r\n \"\"\"This is a test function.\"\"\"\r\n print(\"Hello\")\r\n\r\n```\r\n\r\n2. In the Python site-packages create a `.pth` file and add the full OS path to the lib directory.\r\n3. Try to import the custom_module in a test file (see my test file above).\r\n\r\n## Logs\r\nOutput for `Python` in the `Output` panel (`View`→`Output`, change the drop-down the upper-right of the `Output` panel to `Python`)\r\n\r\n```\r\n##########Linting Output - pydocstyle##########\r\n##########Linting Output - mypy##########\r\n##########Linting Output - prospector##########\r\n##########Linting Output - prospector##########\r\n##########Linting Output - pylama##########\r\n```\r\n\r\n### Log (Window)\r\n```\r\n[2018-12-17 11:35:21.724] [renderer1] [error] Tree element not found: [object Object]: Error: Tree element not found: [object Object]\r\n at e.getElementLocation (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:214:266)\r\n at e.isCollapsed (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:213:757)\r\n at i.e.isCollapsed (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:962:723)\r\n at i.e.isExpanded (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:962:786)\r\n at t.revealMarkersForCurrentActiveEditor (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4710:827)\r\n at t.autoReveal (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4710:647)\r\n at t.onActiveEditorChanged (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4707:826)\r\n at e.fire (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:189:532)\r\n at t.doEmitActiveEditorChangeEvent (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4720:942)\r\n at t.handleActiveEditorChange (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4720:718)\r\n at file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4721:55\r\n at e.fire (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:189:512)\r\n at file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:5170:861\r\n at Object.g [as _notify] (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:167:807)\r\n at Object.enter (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:171:85)\r\n at n.Class.derive._creator._run (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:172:932)\r\n at n.Class.derive._creator._completed (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:172:373)\r\n at \u003canonymous>\r\n at process._tickCallback (internal/process/next_tick.js:188:7)\r\n``` \r\n\r\nOutput from `Console` under the `Developer Tools` panel (toggle Developer Tools on under `Help`)\r\n\r\n```\r\nlog.ts:169 ERR Tree element not found: [object Object]: Error: Tree element not found: [object Object]\r\n at e.getElementLocation (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:214:266)\r\n at e.isCollapsed (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:213:757)\r\n at i.e.isCollapsed (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:962:723)\r\n at i.e.isExpanded (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:962:786)\r\n at t.revealMarkersForCurrentActiveEditor (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4710:827)\r\n at t.autoReveal (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4710:647)\r\n at t.onActiveEditorChanged (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4707:826)\r\n at e.fire (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:189:532)\r\n at t.doEmitActiveEditorChangeEvent (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4720:942)\r\n at t.handleActiveEditorChange (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4720:718)\r\n at file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4721:55\r\n at e.fire (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:189:512)\r\n at file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:5170:861\r\n at Object.g [as _notify] (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:167:807)\r\n at Object.enter (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:171:85)\r\n at n.Class.derive._creator._run (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:172:932)\r\n at n.Class.derive._creator._completed (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:172:373)\r\n at \u003canonymous>\r\n at process._tickCallback (internal/process/next_tick.js:188:7)\r\nconsole.ts:134 [Extension Host] Python Extension: Failed to parse Prospector output SyntaxError: Unexpected end of JSON input\r\n\tat JSON.parse (\u003canonymous>)\r\n\tat module.exports.t.Prospector.\u003canonymous> (/~/.vscode/extensions/ms-python.python-2018.12.1/out/client/extension.js:83:585133)\r\n\tat Generator.next (\u003canonymous>)\r\n\tat module.exports.r (/~/.vscode/extensions/ms-python.python-2018.12.1/out/client/extension.js:83:584675)\r\n\tat new Promise (\u003canonymous>)\r\n\tat module.exports.r (/~/.vscode/extensions/ms-python.python-2018.12.1/out/client/extension.js:83:584452)\r\n\tat module.exports.t.Prospector.parseMessages (/~/.vscode/extensions/ms-python.python-2018.12.1/out/client/extension.js:83:585083)\r\n\tat module.exports.t.Prospector.\u003canonymous> (/~/.vscode/extensions/ms-python.python-2018.12.1/out/client/extension.js:1:77469)\r\n\tat Generator.next (\u003canonymous>)\r\n\tat s (/~/.vscode/extensions/ms-python.python-2018.12.1/out/client/extension.js:1:75269)\r\n\tat \u003canonymous>\r\nt.log @ console.ts:134\r\nt._logExtensionHostMessage @ extensionHost.ts:453\r\n(anonymous) @ extensionHost.ts:244\r\nemitTwo @ events.js:126\r\nemit @ events.js:214\r\nemit @ internal/child_process.js:772\r\n_combinedTickCallback @ internal/process/next_tick.js:141\r\n_tickCallback @ internal/process/next_tick.js:180\r\n```\r\n\n\n---\n\n@jaredcm commented on [Mon Dec 17 2018](https://github.com/Microsoft/vscode-python/issues/3727#issuecomment-447931914)\n\nI tried to create a brand new project and recreate this. The custom module is resolved without issue. When I try and import modules from my initial project I still cannot resolve them. In both projects I get an error message in the workload console like:\r\n\r\n```\r\n/Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:303 [Extension Host] Python Extension: Failed to parse Prospector output SyntaxError: Unexpected end of JSON input\r\n\tat JSON.parse (\u003canonymous>)\r\n\tat module.exports.t.Prospector.\u003canonymous> (/~/.vscode/extensions/ms-python.python-2018.12.1/out/client/extension.js:83:585133)\r\n\tat Generator.next (\u003canonymous>)\r\n\tat module.exports.r (/~/.vscode/extensions/ms-python.python-2018.12.1/out/client/extension.js:83:584675)\r\n\tat new Promise (\u003canonymous>)\r\n\tat module.exports.r (/~/.vscode/extensions/ms-python.python-2018.12.1/out/client/extension.js:83:584452)\r\n\tat module.exports.t.Prospector.parseMessages (/~/.vscode/extensions/ms-python.python-2018.12.1/out/client/extension.js:83:585083)\r\n\tat module.exports.t.Prospector.\u003canonymous> (/~/.vscode/extensions/ms-python.python-2018.12.1/out/client/extension.js:1:77469)\r\n\tat Generator.next (\u003canonymous>)\r\n\tat s (/Users/jared/.vscode/extensions/ms-python.python-2018.12.1/out/client/extension.js:1:75269)\r\n\tat \u003canonymous>\r\nt.log @ /Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:303\r\n```\r\n\n\n---\n\n@jaredcm commented on [Mon Dec 17 2018](https://github.com/Microsoft/vscode-python/issues/3727#issuecomment-447934970)\n\nFound the issue. Looks to be a corrupted .mypy_cache. I removed the cache directory from my initial project and the imports started working in both projects.\n\n---\n\n@jaredcm commented on [Mon Dec 17 2018](https://github.com/Microsoft/vscode-python/issues/3727#issuecomment-448070545)\n\nLooks like I was wrong. I restarted my computer and now my custom module cannot be resolved again. I remember I had been messing about with my pth file. Normally I have 4 paths in it which are all loaded into Python without issue. While filling out this bug report, I had removed all but 1, which was when VS Code started working. I had to add the other 3 paths back again later for my scripts to function properly. Which is why it stopped working and I didn't notice until VSCode was restarted.\r\n\r\nproject.pth =\r\nos_path/project\r\nos_path/project/lib\r\nos_path/project/tests\r\nos_path/project/unit_tests\r\n\r\nI've done some testing:\r\n1. I added a project_lib.pth file which has 1 entry pointing to my lib directory and removed the entry from my project.pth file. The custom module is not resolvable.\r\n2. I change the name of project.pth to project.orig and restart VSCode. The module is resolvable.\r\n3. I change the name of project.orig back to project.pth and restart VSCode. The module is unresolvable again.\r\n4. I rename project.pth again, create a new file named project_root.pth, add the root directory for my project and restart VSCode. The module is resolvable as are modules in my project's root directory.\r\n\r\nIt looks like VSCode gets confused when pth files have more than one entry.\n\n---\n\n@jaredcm commented on [Mon Dec 17 2018](https://github.com/Microsoft/vscode-python/issues/3727#issuecomment-448082885)\n\nNew issue:\r\nIn custom_module I have many sub_modules and they have other sub_modules. Within each of the sub_modules I use relative imports to load their child classes. The sub_module directory has a \\_\\_init\\_\\_,py with the import statement of \"from .rest import Rest\". This should resolve to a child directory named 'rest' that has a \\_\\_init\\_\\_.py file where the Rest class is defined. The full resolution from the root module to the imported class is 'custom_module.sub_module.rest.Rest'\r\n\r\nThe error message is:\r\n{\r\n\t\"resource\": \"~/project/lib/custom_module/sub_module/\\_\\_init\\_\\_.py\",\r\n\t\"owner\": \"_generated_diagnostic_collection_name_#0\",\r\n\t\"code\": \"unresolved-import\",\r\n\t\"severity\": 4,\r\n\t\"message\": \"unresolved import 'lib.custom_modulerest'\",\r\n\t\"source\": \"Python\",\r\n\t\"startLineNumber\": 6,\r\n\t\"startColumn\": 6,\r\n\t\"endLineNumber\": 6,\r\n\t\"endColumn\": 11\r\n}\r\n\r\nAlso notice that the message is not showing the correct module import path. The lib directory is not a module as it does not have a \\_\\_init\\_\\_.py file. If I change the path of the relative import to a full module import of 'from custom_module.sub_module.rest import Rest', then the error goes away. The path in the message is also missing the current module. It's almost like it the path it is looking for is shifted too far up the tree. Instead of looking in custom_module/sub_module/rest, I think it is looking for lib/custom_module/rest which doesn't exist.\r\n\r\n## Developer Console output\r\n```\r\n ERR Tree element not found: [object Object]: Error: Tree element not found: [object Object]\r\n at e.getElementLocation (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:214:266)\r\n at e.isCollapsed (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:213:757)\r\n at i.e.isCollapsed (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:962:723)\r\n at i.e.isExpanded (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:962:786)\r\n at t.revealMarkersForCurrentActiveEditor (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4710:827)\r\n at t.autoReveal (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4710:647)\r\n at t.onActiveEditorChanged (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4707:826)\r\n at e.fire (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:189:532)\r\n at t.doEmitActiveEditorChangeEvent (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4720:942)\r\n at t.handleActiveEditorChange (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4720:718)\r\n at file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4721:55\r\n at e.fire (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:189:512)\r\n at file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:5170:861\r\n at Object.g [as _notify] (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:167:807)\r\n at Object.enter (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:171:85)\r\n at n.Class.derive._creator._run (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:172:932)\r\n at n.Class.derive._creator._completed (file:///Applications/Design/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:172:373)\r\n at \u003canonymous>\r\n at process._tickCallback (internal/process/next_tick.js:188:7)\r\nconsole.ts:134 [Extension Host] Python Extension: Failed to parse Prospector output SyntaxError: Unexpected end of JSON input\r\n\tat JSON.parse (\u003canonymous>)\r\n\tat module.exports.t.Prospector.\u003canonymous> (/~/.vscode/extensions/ms-python.python-2018.12.1/out/client/extension.js:83:585133)\r\n\tat Generator.next (\u003canonymous>)\r\n\tat module.exports.r (/~/.vscode/extensions/ms-python.python-2018.12.1/out/client/extension.js:83:584675)\r\n\tat new Promise (\u003canonymous>)\r\n\tat module.exports.r (/~/.vscode/extensions/ms-python.python-2018.12.1/out/client/extension.js:83:584452)\r\n\tat module.exports.t.Prospector.parseMessages (/~/.vscode/extensions/ms-python.python-2018.12.1/out/client/extension.js:83:585083)\r\n\tat module.exports.t.Prospector.\u003canonymous> (/~/.vscode/extensions/ms-python.python-2018.12.1/out/client/extension.js:1:77469)\r\n\tat Generator.next (\u003canonymous>)\r\n\tat s (/~/.vscode/extensions/ms-python.python-2018.12.1/out/client/extension.js:1:75269)\r\n\tat \u003canonymous>\r\nt.log @ console.ts:134\r\nt._logExtensionHostMessage @ extensionHost.ts:453\r\n(anonymous) @ extensionHost.ts:244\r\nemitTwo @ events.js:126\r\nemit @ events.js:214\r\nemit @ internal/child_process.js:772\r\n_combinedTickCallback @ internal/process/next_tick.js:141\r\n_tickCallback @ internal/process/next_tick.js:180\r\n```\r\n\n\n---\n\n@d3r3kk commented on [Thu Jan 17 2019](https://github.com/Microsoft/vscode-python/issues/3727#issuecomment-455270810)\n\nThanks for bringing this up @jaredcm, an interesting problem!\r\n\r\n*I didn't know about `.pth` files until this issue popped up so thank you for that.*\r\n\r\nI can repro this issue with the latest stable VS Code (1.30.2) + latest extension (2018.12.1), using the Jedi language server (`\"python.jediEnabled\": true\"`).\r\n\r\nWorkaround: The Microsoft Python Language Server (as of version 0.1.72.0, or greater) ~seems to handle this case~ (see below). Have you attempted to use this instead of Jedi? See this issue for details on how to enable/update the Microsoft Python Language Server.\r\n\r\n## Adding more than one entry.\r\n\r\nActually, on second look I have found that this is *not handled* properly by the Microsoft Python Language Server as I'd originally stated (at least version 0.1.72.0 doesn't) as I'd left out the multiple lines in the `.pth` part after I got things up and running.\r\n\r\nIndeed, if you add a `.pth` file to your `site-packages` with > 1 path, the issue does repro.\r\n\r\nHere's the sample workspace:\r\n\r\n[3727_module_resolution.zip](https://github.com/Microsoft/vscode-python/files/2770188/3727_module_resolution.zip)\r\n\r\nHere's the sample `.pth` file contents that I placed in the `site-packages`. I created a `.venv` in my workspace and copied this file to `${workspaceFolder}/.venv/Lib/site-packages/test_3727.pth`.\r\n\r\n```\r\nC:\\\\path\\\\to\\\\workspaceFolder\\\\3727_module_resolution\r\nC:\\\\path\\\\to\\\\workspaceFolder\\\\3727_module_resolution\\\\lib\r\n```\r\n\n\n","author":{"url":"https://github.com/d3r3kk","@type":"Person","name":"d3r3kk"},"datePublished":"2019-01-17T19:03:37Z","url":"https://github.com/microsoft/python-language-server/issues/537"}
| 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:d6faa2d5-5687-5e57-f0e2-cec360f3045b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A8E4:1FB7A0:7D3D74:A96620:6AFE5729 |
| html-safe-nonce | fd74bc3a444390740a5292c8366f108d2134ccd7d38f9ecb4775f6be1b88ee91 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEU0OjFGQjdBMDo3RDNENzQ6QTk2NjIwOjZBRkU1NzI5IiwidmlzaXRvcl9pZCI6IjIzOTE0MzE4OTA5MjI3ODg2NDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | de064775265195ead96265e6c83de94af8a9f99f5e33e3a85d5f8010611e3af1 |
| hovercard-subject-tag | issue:400419041 |
| 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/537/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ae9ec7f60adb06ceee452343a91f9ece1db3618512e98baf0c5116fd0ee653ec/microsoft/python-language-server/issues/537 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ae9ec7f60adb06ceee452343a91f9ece1db3618512e98baf0c5116fd0ee653ec/microsoft/python-language-server/issues/537 |
| og:image:alt | jaredcm commented on Mon Dec 17 2018 Environment data VS Code version: Version 1.30.0 (1.30.0) Extension version (available under the Extensions sidebar): 2018.12.1 OS and version: Mac OS 10.14.1 P... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | d3r3kk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3ad2b58e42f481583284b895305360b61b0223636c9dde6d696b575347163a26 |
| 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 | 8df44dbe1c8091b38c3e0165c05a1e5c1563762e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width