{"action":"created","issue":{"url":"https://api.github.com/repos/google/pytype/issues/25","repository_url":"https://api.github.com/repos/google/pytype","labels_url":"https://api.github.com/repos/google/pytype/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/google/pytype/issues/25/comments","events_url":"https://api.github.com/repos/google/pytype/issues/25/events","html_url":"https://github.com/google/pytype/issues/25","id":158698605,"number":25,"title":"Python 3 support?","user":{"login":"jrenner","id":1393288,"avatar_url":"https://avatars1.githubusercontent.com/u/1393288?v=4","gravatar_id":"","url":"https://api.github.com/users/jrenner","html_url":"https://github.com/jrenner","followers_url":"https://api.github.com/users/jrenner/followers","following_url":"https://api.github.com/users/jrenner/following{/other_user}","gists_url":"https://api.github.com/users/jrenner/gists{/gist_id}","starred_url":"https://api.github.com/users/jrenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrenner/subscriptions","organizations_url":"https://api.github.com/users/jrenner/orgs","repos_url":"https://api.github.com/users/jrenner/repos","events_url":"https://api.github.com/users/jrenner/events{/privacy}","received_events_url":"https://api.github.com/users/jrenner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2016-06-06T14:57:41Z","updated_at":"2018-03-14T22:37:07Z","closed_at":null,"author_association":"NONE","body":"I'm attempting to use pytype and it appears it doesn't support Python 3( complains about no StringIO module).  Any plans to support Python 3? or, perhaps add some documentation about which version of Python are supported.\n"},"comment":{"url":"https://api.github.com/repos/google/pytype/issues/comments/373198244","html_url":"https://github.com/google/pytype/issues/25#issuecomment-373198244","issue_url":"https://api.github.com/repos/google/pytype/issues/25","id":373198244,"user":{"login":"kamahen","id":34629301,"avatar_url":"https://avatars1.githubusercontent.com/u/34629301?v=4","gravatar_id":"","url":"https://api.github.com/users/kamahen","html_url":"https://github.com/kamahen","followers_url":"https://api.github.com/users/kamahen/followers","following_url":"https://api.github.com/users/kamahen/following{/other_user}","gists_url":"https://api.github.com/users/kamahen/gists{/gist_id}","starred_url":"https://api.github.com/users/kamahen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamahen/subscriptions","organizations_url":"https://api.github.com/users/kamahen/orgs","repos_url":"https://api.github.com/users/kamahen/repos","events_url":"https://api.github.com/users/kamahen/events{/privacy}","received_events_url":"https://api.github.com/users/kamahen/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T22:37:07Z","updated_at":"2018-03-14T22:37:07Z","author_association":"NONE","body":"@martindemello - The problem isn't with the direct import but with an indirect import via a `.pyi` file.\r\n\r\nIt'll take me a bit of work to create a repro, if you need one. This is the error when pytype tries to process (via import) a generated `.pyi` file:\r\n```\r\n      import .pod\r\n             ^\r\n  ParseError: syntax error, unexpected '.', expecting NAME\r\n```\r\n\r\nThere also seems to be an import problem (for `.pyi` files) if I do `pytype -P /tmp/pytype_gen somedir/foo.py`, which goes away if I do `cd somedir && pytype -P /tmp/pytype_gen foo.py` ... the error message from pytype isn't very informative so I don't know what file it's looking for and not finding."}}
{"actor":{"display_login":"kamahen"}}