{"action":"created","issue":{"url":"https://api.github.com/repos/berkerpeksag/astor/issues/86","repository_url":"https://api.github.com/repos/berkerpeksag/astor","labels_url":"https://api.github.com/repos/berkerpeksag/astor/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/berkerpeksag/astor/issues/86/comments","events_url":"https://api.github.com/repos/berkerpeksag/astor/issues/86/events","html_url":"https://github.com/berkerpeksag/astor/issues/86","id":270193901,"number":86,"title":"'async' and 'await' will become keywords in Python 3.7","user":{"login":"berkerpeksag","id":26338,"avatar_url":"https://avatars1.githubusercontent.com/u/26338?v=4","gravatar_id":"","url":"https://api.github.com/users/berkerpeksag","html_url":"https://github.com/berkerpeksag","followers_url":"https://api.github.com/users/berkerpeksag/followers","following_url":"https://api.github.com/users/berkerpeksag/following{/other_user}","gists_url":"https://api.github.com/users/berkerpeksag/gists{/gist_id}","starred_url":"https://api.github.com/users/berkerpeksag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berkerpeksag/subscriptions","organizations_url":"https://api.github.com/users/berkerpeksag/orgs","repos_url":"https://api.github.com/users/berkerpeksag/repos","events_url":"https://api.github.com/users/berkerpeksag/events{/privacy}","received_events_url":"https://api.github.com/users/berkerpeksag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-01T04:58:04Z","updated_at":"2018-03-20T18:56:36Z","closed_at":null,"author_association":"OWNER","body":"The following code won't work in Python 3.7:\r\n\r\nhttps://github.com/berkerpeksag/astor/blob/5f189fc5cae9a5c3ca75bc204a8ac9a361b4bcc7/astor/code_gen.py#L311\r\n\r\nFull list:\r\n\r\n```\r\nastor/code_gen.py:311:    def visit_FunctionDef(self, node, async=False):\r\nastor/code_gen.py:312:        prefix = 'async ' if async else ''\r\nastor/code_gen.py:325:        self.visit_FunctionDef(node, async=True)\r\nastor/code_gen.py:367:    def visit_For(self, node, async=False):\r\nastor/code_gen.py:369:        prefix = 'async ' if async else ''\r\nastor/code_gen.py:376:        self.visit_For(node, async=True)\r\nastor/code_gen.py:383:    def visit_With(self, node, async=False):\r\nastor/code_gen.py:384:        prefix = 'async ' if async else ''\r\nastor/code_gen.py:395:        self.visit_With(node, async=True)\r\n```"},"comment":{"url":"https://api.github.com/repos/berkerpeksag/astor/issues/comments/374716748","html_url":"https://github.com/berkerpeksag/astor/issues/86#issuecomment-374716748","issue_url":"https://api.github.com/repos/berkerpeksag/astor/issues/86","id":374716748,"user":{"login":"zackmdavis","id":1076988,"avatar_url":"https://avatars2.githubusercontent.com/u/1076988?v=4","gravatar_id":"","url":"https://api.github.com/users/zackmdavis","html_url":"https://github.com/zackmdavis","followers_url":"https://api.github.com/users/zackmdavis/followers","following_url":"https://api.github.com/users/zackmdavis/following{/other_user}","gists_url":"https://api.github.com/users/zackmdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/zackmdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zackmdavis/subscriptions","organizations_url":"https://api.github.com/users/zackmdavis/orgs","repos_url":"https://api.github.com/users/zackmdavis/repos","events_url":"https://api.github.com/users/zackmdavis/events{/privacy}","received_events_url":"https://api.github.com/users/zackmdavis/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T18:56:35Z","updated_at":"2018-03-20T18:56:35Z","author_association":"CONTRIBUTOR","body":"(Sorry, I should have foreseen that this was going to be a problem in #19)"}}
{"actor":{"display_login":"zackmdavis"}}