{"action":"opened","issue":{"url":"https://api.github.com/repos/klen/python-mode/issues/681","repository_url":"https://api.github.com/repos/klen/python-mode","labels_url":"https://api.github.com/repos/klen/python-mode/issues/681/labels{/name}","comments_url":"https://api.github.com/repos/klen/python-mode/issues/681/comments","events_url":"https://api.github.com/repos/klen/python-mode/issues/681/events","html_url":"https://github.com/klen/python-mode/issues/681","id":159494605,"number":681,"title":"Inconsistent linting for python3?","user":{"login":"frnsys","id":1059947,"avatar_url":"https://avatars.githubusercontent.com/u/1059947?v=3","gravatar_id":"","url":"https://api.github.com/users/frnsys","html_url":"https://github.com/frnsys","followers_url":"https://api.github.com/users/frnsys/followers","following_url":"https://api.github.com/users/frnsys/following{/other_user}","gists_url":"https://api.github.com/users/frnsys/gists{/gist_id}","starred_url":"https://api.github.com/users/frnsys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frnsys/subscriptions","organizations_url":"https://api.github.com/users/frnsys/orgs","repos_url":"https://api.github.com/users/frnsys/repos","events_url":"https://api.github.com/users/frnsys/events{/privacy}","received_events_url":"https://api.github.com/users/frnsys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-09T19:58:18Z","updated_at":"2016-06-09T19:58:18Z","closed_at":null,"body":"I have the following config for python-mode:\r\n\r\n```\r\nlet g:pymode_virtualenv = 1\r\nlet g:pymode_lint_checkers = ['pyflakes']\r\nlet g:pymode_python = 'python3'\r\nau BufWriteCmd *.py write || :PymodeLint\r\n```\r\n\r\nI'm having an issue where, for the following code, no errors are reported, when there should be:\r\n\r\n```\r\nimport non_existent\r\n\r\nasync def foo():\r\n    yield 'test'\r\n\r\nprint(not_defined)\r\n```\r\n\r\nIf, however, I remove the `async` keyword, the `non_existent` and `not_defined` errors are correctly caught.\r\n\r\nIf I leave `pymode_python` to it's default value, then the `async` keyword is shown as a syntax error (which is what I expect, but I want to use python 3.5 linting)."}}
{"actor":{"display_login":"frnsys"}}