{"action":"created","issue":{"url":"https://api.github.com/repos/JukkaL/mypy/issues/887","labels_url":"https://api.github.com/repos/JukkaL/mypy/issues/887/labels{/name}","comments_url":"https://api.github.com/repos/JukkaL/mypy/issues/887/comments","events_url":"https://api.github.com/repos/JukkaL/mypy/issues/887/events","html_url":"https://github.com/JukkaL/mypy/pull/887","id":109396368,"number":887,"title":"Dialect","user":{"login":"o11c","id":964689,"avatar_url":"https://avatars.githubusercontent.com/u/964689?v=3","gravatar_id":"","url":"https://api.github.com/users/o11c","html_url":"https://github.com/o11c","followers_url":"https://api.github.com/users/o11c/followers","following_url":"https://api.github.com/users/o11c/following{/other_user}","gists_url":"https://api.github.com/users/o11c/gists{/gist_id}","starred_url":"https://api.github.com/users/o11c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/o11c/subscriptions","organizations_url":"https://api.github.com/users/o11c/orgs","repos_url":"https://api.github.com/users/o11c/repos","events_url":"https://api.github.com/users/o11c/events{/privacy}","received_events_url":"https://api.github.com/users/o11c/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-01T22:20:30Z","updated_at":"2015-10-10T21:58:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JukkaL/mypy/pulls/887","html_url":"https://github.com/JukkaL/mypy/pull/887","diff_url":"https://github.com/JukkaL/mypy/pull/887.diff","patch_url":"https://github.com/JukkaL/mypy/pull/887.patch"},"body":"I've pulled this out of #880 because it promises to be useful for #884 and #732 "},"comment":{"url":"https://api.github.com/repos/JukkaL/mypy/issues/comments/147128880","html_url":"https://github.com/JukkaL/mypy/pull/887#issuecomment-147128880","issue_url":"https://api.github.com/repos/JukkaL/mypy/issues/887","id":147128880,"user":{"login":"o11c","id":964689,"avatar_url":"https://avatars.githubusercontent.com/u/964689?v=3","gravatar_id":"","url":"https://api.github.com/users/o11c","html_url":"https://github.com/o11c","followers_url":"https://api.github.com/users/o11c/followers","following_url":"https://api.github.com/users/o11c/following{/other_user}","gists_url":"https://api.github.com/users/o11c/gists{/gist_id}","starred_url":"https://api.github.com/users/o11c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/o11c/subscriptions","organizations_url":"https://api.github.com/users/o11c/orgs","repos_url":"https://api.github.com/users/o11c/repos","events_url":"https://api.github.com/users/o11c/events{/privacy}","received_events_url":"https://api.github.com/users/o11c/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T21:58:50Z","updated_at":"2015-10-10T21:58:50Z","body":"Expected usage:\r\n* From the command-line tool:\r\n  * Add a `--python-executable` option (do this after `driver` so that it's all in `mypy.main` instead of `scripts/mypy`), store its argument in a `python_executable` variable.\r\n  * set `force_py2 = True` if the `--py2` flag is passed, for backward compatibility, but deprecate `--py2`.\r\n  * `python_implementation = dialect.Implementation(python_executable) if python_executable is not None else dialect.default_implementation(force_py2=force_py2)`\r\n  * Deprecate the `--use-python-path` option since we can now use it correctly even in python2 mode.\r\n* From the testsuite, see #732, which I am increasingly convinced needs to be done *before* `syntax`, for testsuite reasons."}}