{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2081","repository_url":"https://api.github.com/repos/Microsoft/vscode-python","labels_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2081/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2081/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2081/events","html_url":"https://github.com/Microsoft/vscode-python/issues/2081","id":337603252,"node_id":"MDU6SXNzdWUzMzc2MDMyNTI=","number":2081,"title":"RuntimeError when using pylint","user":{"login":"karthiknadig","id":3840081,"node_id":"MDQ6VXNlcjM4NDAwODE=","avatar_url":"https://avatars3.githubusercontent.com/u/3840081?v=4","gravatar_id":"","url":"https://api.github.com/users/karthiknadig","html_url":"https://github.com/karthiknadig","followers_url":"https://api.github.com/users/karthiknadig/followers","following_url":"https://api.github.com/users/karthiknadig/following{/other_user}","gists_url":"https://api.github.com/users/karthiknadig/gists{/gist_id}","starred_url":"https://api.github.com/users/karthiknadig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karthiknadig/subscriptions","organizations_url":"https://api.github.com/users/karthiknadig/orgs","repos_url":"https://api.github.com/users/karthiknadig/repos","events_url":"https://api.github.com/users/karthiknadig/events{/privacy}","received_events_url":"https://api.github.com/users/karthiknadig/received_events","type":"User","site_admin":false},"labels":[{"id":717069674,"node_id":"MDU6TGFiZWw3MTcwNjk2NzQ=","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/feature-linting","name":"feature-linting","color":"006b75","default":false},{"id":925803966,"node_id":"MDU6TGFiZWw5MjU4MDM5NjY=","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/needs%20upstream%20fix","name":"needs upstream fix","color":"fef2c0","default":false},{"id":716013197,"node_id":"MDU6TGFiZWw3MTYwMTMxOTc=","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/type-bug","name":"type-bug","color":"ee0701","default":false},{"id":849193478,"node_id":"MDU6TGFiZWw4NDkxOTM0Nzg=","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/x-pylint","name":"x-pylint","color":"221089","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-02T17:31:11Z","updated_at":"2018-07-02T22:32:36Z","closed_at":null,"author_association":"MEMBER","body":"This issue was reported via the feedback survey.\r\n\r\n## Environment data\r\n\r\n- VS Code version: 1.24.1 (24f62626b222e9a8313213fb64b10d741a326288)\r\n- Extension version (available under the Extensions sidebar): 2018.6.0\r\n- OS and version: Windows 10\r\n- Python version (& distribution if applicable, e.g. Anaconda): 3.7\r\n- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A\r\n- Relevant/affected Python packages and their versions: pylint==1.9.2, dataclasses==0.6\r\n\r\n## Actual behavior\r\n\r\n![image](https://user-images.githubusercontent.com/3840081/42177599-26e2ccd0-7de2-11e8-93df-049dd81df5c3.png)\r\n\r\n\r\n## Expected  behavior\r\n\r\nLinting should not fail\r\n\r\n## Steps to reproduce:\r\n1. Install and enable `pylint`, workspace settings:\r\n```json\r\n{\r\n    \"python.pythonPath\": \"C:\\\\Python37\\\\python.exe\",\r\n    \"python.linting.flake8Enabled\": false,\r\n    \"python.linting.pylintEnabled\": true,\r\n}\r\n```\r\n2. Install `dataclasses`.\r\n3. Repro:\r\n```python\r\nfrom dataclasses import *\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-python/issues/comments/401957627","html_url":"https://github.com/Microsoft/vscode-python/issues/2081#issuecomment-401957627","issue_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2081","id":401957627,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTk1NzYyNw==","user":{"login":"d3r3kk","id":11466735,"node_id":"MDQ6VXNlcjExNDY2NzM1","avatar_url":"https://avatars0.githubusercontent.com/u/11466735?v=4","gravatar_id":"","url":"https://api.github.com/users/d3r3kk","html_url":"https://github.com/d3r3kk","followers_url":"https://api.github.com/users/d3r3kk/followers","following_url":"https://api.github.com/users/d3r3kk/following{/other_user}","gists_url":"https://api.github.com/users/d3r3kk/gists{/gist_id}","starred_url":"https://api.github.com/users/d3r3kk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3r3kk/subscriptions","organizations_url":"https://api.github.com/users/d3r3kk/orgs","repos_url":"https://api.github.com/users/d3r3kk/repos","events_url":"https://api.github.com/users/d3r3kk/events{/privacy}","received_events_url":"https://api.github.com/users/d3r3kk/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T22:32:36Z","updated_at":"2018-07-02T22:32:36Z","author_association":"NONE","body":"Seems that pylint isn't 100% compatible with Python 3.7 (yet). See PyCQA/astroid#539 and the hint near the last comment in PyCQA/pylint#2234. If you install the latest pre-release of PyLint you will see it works:\r\n\r\n`python -m pip install --pre pylint`\r\n\r\nand then see your file:\r\n\r\n![image](https://user-images.githubusercontent.com/11466735/42189443-1e673cc8-7e0d-11e8-861f-22bfedfb7023.png)\r\n"}}
{"actor":{"display_login":"d3r3kk"}}