{"action":"opened","number":286,"pull_request":{"url":"https://api.github.com/repos/chainer/chainerrl/pulls/286","id":199928097,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5OTI4MDk3","html_url":"https://github.com/chainer/chainerrl/pull/286","diff_url":"https://github.com/chainer/chainerrl/pull/286.diff","patch_url":"https://github.com/chainer/chainerrl/pull/286.patch","issue_url":"https://api.github.com/repos/chainer/chainerrl/issues/286","number":286,"state":"open","locked":false,"title":"Modify `async` to `async_` to support Python 3.7","user":{"login":"mmilk1231","id":25254315,"node_id":"MDQ6VXNlcjI1MjU0MzE1","avatar_url":"https://avatars1.githubusercontent.com/u/25254315?v=4","gravatar_id":"","url":"https://api.github.com/users/mmilk1231","html_url":"https://github.com/mmilk1231","followers_url":"https://api.github.com/users/mmilk1231/followers","following_url":"https://api.github.com/users/mmilk1231/following{/other_user}","gists_url":"https://api.github.com/users/mmilk1231/gists{/gist_id}","starred_url":"https://api.github.com/users/mmilk1231/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmilk1231/subscriptions","organizations_url":"https://api.github.com/users/mmilk1231/orgs","repos_url":"https://api.github.com/users/mmilk1231/repos","events_url":"https://api.github.com/users/mmilk1231/events{/privacy}","received_events_url":"https://api.github.com/users/mmilk1231/received_events","type":"User","site_admin":false},"body":"`async` becomes a keyword in Python 3.7. Thus when I import ChainerRL with Python 3.7, the following SyntaxError happened:\r\n\r\n```\r\n  File \"/usr/local/lib/python3.7/site-packages/chainerrl-0.3.0-py3.7.egg/chainerrl/agents/a3c.py\", line 122\r\n    async.assert_params_not_shared(self.shared_model, self.model)\r\n         ^\r\nSyntaxError: invalid syntax\r\n...\r\n```\r\n\r\nThis PR avoid the error by modifying `async` to `async_`.\r\n\r\nReferences about Python 3.7:\r\nhttps://www.python.org/dev/peps/pep-0492/\r\nhttps://docs.python.org/3/whatsnew/3.7.html#changes-in-python-behavior","created_at":"2018-07-08T06:45:39Z","updated_at":"2018-07-08T06:45:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/chainer/chainerrl/pulls/286/commits","review_comments_url":"https://api.github.com/repos/chainer/chainerrl/pulls/286/comments","review_comment_url":"https://api.github.com/repos/chainer/chainerrl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chainer/chainerrl/issues/286/comments","statuses_url":"https://api.github.com/repos/chainer/chainerrl/statuses/2322e5a626ce4539f1e72cb34f6fb4f280bedbf8","head":{"label":"mmilk1231:master","ref":"master","sha":"2322e5a626ce4539f1e72cb34f6fb4f280bedbf8","user":{"login":"mmilk1231","id":25254315,"node_id":"MDQ6VXNlcjI1MjU0MzE1","avatar_url":"https://avatars1.githubusercontent.com/u/25254315?v=4","gravatar_id":"","url":"https://api.github.com/users/mmilk1231","html_url":"https://github.com/mmilk1231","followers_url":"https://api.github.com/users/mmilk1231/followers","following_url":"https://api.github.com/users/mmilk1231/following{/other_user}","gists_url":"https://api.github.com/users/mmilk1231/gists{/gist_id}","starred_url":"https://api.github.com/users/mmilk1231/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmilk1231/subscriptions","organizations_url":"https://api.github.com/users/mmilk1231/orgs","repos_url":"https://api.github.com/users/mmilk1231/repos","events_url":"https://api.github.com/users/mmilk1231/events{/privacy}","received_events_url":"https://api.github.com/users/mmilk1231/received_events","type":"User","site_admin":false},"repo":{"id":140126735,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAxMjY3MzU=","name":"chainerrl","full_name":"mmilk1231/chainerrl","owner":{"login":"mmilk1231","id":25254315,"node_id":"MDQ6VXNlcjI1MjU0MzE1","avatar_url":"https://avatars1.githubusercontent.com/u/25254315?v=4","gravatar_id":"","url":"https://api.github.com/users/mmilk1231","html_url":"https://github.com/mmilk1231","followers_url":"https://api.github.com/users/mmilk1231/followers","following_url":"https://api.github.com/users/mmilk1231/following{/other_user}","gists_url":"https://api.github.com/users/mmilk1231/gists{/gist_id}","starred_url":"https://api.github.com/users/mmilk1231/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmilk1231/subscriptions","organizations_url":"https://api.github.com/users/mmilk1231/orgs","repos_url":"https://api.github.com/users/mmilk1231/repos","events_url":"https://api.github.com/users/mmilk1231/events{/privacy}","received_events_url":"https://api.github.com/users/mmilk1231/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mmilk1231/chainerrl","description":"ChainerRL is a deep reinforcement learning library built on top of Chainer.","fork":true,"url":"https://api.github.com/repos/mmilk1231/chainerrl","forks_url":"https://api.github.com/repos/mmilk1231/chainerrl/forks","keys_url":"https://api.github.com/repos/mmilk1231/chainerrl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mmilk1231/chainerrl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mmilk1231/chainerrl/teams","hooks_url":"https://api.github.com/repos/mmilk1231/chainerrl/hooks","issue_events_url":"https://api.github.com/repos/mmilk1231/chainerrl/issues/events{/number}","events_url":"https://api.github.com/repos/mmilk1231/chainerrl/events","assignees_url":"https://api.github.com/repos/mmilk1231/chainerrl/assignees{/user}","branches_url":"https://api.github.com/repos/mmilk1231/chainerrl/branches{/branch}","tags_url":"https://api.github.com/repos/mmilk1231/chainerrl/tags","blobs_url":"https://api.github.com/repos/mmilk1231/chainerrl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mmilk1231/chainerrl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mmilk1231/chainerrl/git/refs{/sha}","trees_url":"https://api.github.com/repos/mmilk1231/chainerrl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mmilk1231/chainerrl/statuses/{sha}","languages_url":"https://api.github.com/repos/mmilk1231/chainerrl/languages","stargazers_url":"https://api.github.com/repos/mmilk1231/chainerrl/stargazers","contributors_url":"https://api.github.com/repos/mmilk1231/chainerrl/contributors","subscribers_url":"https://api.github.com/repos/mmilk1231/chainerrl/subscribers","subscription_url":"https://api.github.com/repos/mmilk1231/chainerrl/subscription","commits_url":"https://api.github.com/repos/mmilk1231/chainerrl/commits{/sha}","git_commits_url":"https://api.github.com/repos/mmilk1231/chainerrl/git/commits{/sha}","comments_url":"https://api.github.com/repos/mmilk1231/chainerrl/comments{/number}","issue_comment_url":"https://api.github.com/repos/mmilk1231/chainerrl/issues/comments{/number}","contents_url":"https://api.github.com/repos/mmilk1231/chainerrl/contents/{+path}","compare_url":"https://api.github.com/repos/mmilk1231/chainerrl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mmilk1231/chainerrl/merges","archive_url":"https://api.github.com/repos/mmilk1231/chainerrl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mmilk1231/chainerrl/downloads","issues_url":"https://api.github.com/repos/mmilk1231/chainerrl/issues{/number}","pulls_url":"https://api.github.com/repos/mmilk1231/chainerrl/pulls{/number}","milestones_url":"https://api.github.com/repos/mmilk1231/chainerrl/milestones{/number}","notifications_url":"https://api.github.com/repos/mmilk1231/chainerrl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mmilk1231/chainerrl/labels{/name}","releases_url":"https://api.github.com/repos/mmilk1231/chainerrl/releases{/id}","deployments_url":"https://api.github.com/repos/mmilk1231/chainerrl/deployments","created_at":"2018-07-08T00:39:21Z","updated_at":"2018-07-08T00:39:39Z","pushed_at":"2018-07-08T00:39:38Z","git_url":"git://github.com/mmilk1231/chainerrl.git","ssh_url":"git@github.com:mmilk1231/chainerrl.git","clone_url":"https://github.com/mmilk1231/chainerrl.git","svn_url":"https://github.com/mmilk1231/chainerrl","homepage":"","size":8385,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chainer:master","ref":"master","sha":"e424a75c3c7560fb6d78594e70f52af9668788fb","user":{"login":"chainer","id":23183003,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMTgzMDAz","avatar_url":"https://avatars3.githubusercontent.com/u/23183003?v=4","gravatar_id":"","url":"https://api.github.com/users/chainer","html_url":"https://github.com/chainer","followers_url":"https://api.github.com/users/chainer/followers","following_url":"https://api.github.com/users/chainer/following{/other_user}","gists_url":"https://api.github.com/users/chainer/gists{/gist_id}","starred_url":"https://api.github.com/users/chainer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chainer/subscriptions","organizations_url":"https://api.github.com/users/chainer/orgs","repos_url":"https://api.github.com/users/chainer/repos","events_url":"https://api.github.com/users/chainer/events{/privacy}","received_events_url":"https://api.github.com/users/chainer/received_events","type":"Organization","site_admin":false},"repo":{"id":80394882,"node_id":"MDEwOlJlcG9zaXRvcnk4MDM5NDg4Mg==","name":"chainerrl","full_name":"chainer/chainerrl","owner":{"login":"chainer","id":23183003,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMTgzMDAz","avatar_url":"https://avatars3.githubusercontent.com/u/23183003?v=4","gravatar_id":"","url":"https://api.github.com/users/chainer","html_url":"https://github.com/chainer","followers_url":"https://api.github.com/users/chainer/followers","following_url":"https://api.github.com/users/chainer/following{/other_user}","gists_url":"https://api.github.com/users/chainer/gists{/gist_id}","starred_url":"https://api.github.com/users/chainer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chainer/subscriptions","organizations_url":"https://api.github.com/users/chainer/orgs","repos_url":"https://api.github.com/users/chainer/repos","events_url":"https://api.github.com/users/chainer/events{/privacy}","received_events_url":"https://api.github.com/users/chainer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chainer/chainerrl","description":"ChainerRL is a deep reinforcement learning library built on top of Chainer.","fork":false,"url":"https://api.github.com/repos/chainer/chainerrl","forks_url":"https://api.github.com/repos/chainer/chainerrl/forks","keys_url":"https://api.github.com/repos/chainer/chainerrl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chainer/chainerrl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chainer/chainerrl/teams","hooks_url":"https://api.github.com/repos/chainer/chainerrl/hooks","issue_events_url":"https://api.github.com/repos/chainer/chainerrl/issues/events{/number}","events_url":"https://api.github.com/repos/chainer/chainerrl/events","assignees_url":"https://api.github.com/repos/chainer/chainerrl/assignees{/user}","branches_url":"https://api.github.com/repos/chainer/chainerrl/branches{/branch}","tags_url":"https://api.github.com/repos/chainer/chainerrl/tags","blobs_url":"https://api.github.com/repos/chainer/chainerrl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chainer/chainerrl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chainer/chainerrl/git/refs{/sha}","trees_url":"https://api.github.com/repos/chainer/chainerrl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chainer/chainerrl/statuses/{sha}","languages_url":"https://api.github.com/repos/chainer/chainerrl/languages","stargazers_url":"https://api.github.com/repos/chainer/chainerrl/stargazers","contributors_url":"https://api.github.com/repos/chainer/chainerrl/contributors","subscribers_url":"https://api.github.com/repos/chainer/chainerrl/subscribers","subscription_url":"https://api.github.com/repos/chainer/chainerrl/subscription","commits_url":"https://api.github.com/repos/chainer/chainerrl/commits{/sha}","git_commits_url":"https://api.github.com/repos/chainer/chainerrl/git/commits{/sha}","comments_url":"https://api.github.com/repos/chainer/chainerrl/comments{/number}","issue_comment_url":"https://api.github.com/repos/chainer/chainerrl/issues/comments{/number}","contents_url":"https://api.github.com/repos/chainer/chainerrl/contents/{+path}","compare_url":"https://api.github.com/repos/chainer/chainerrl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chainer/chainerrl/merges","archive_url":"https://api.github.com/repos/chainer/chainerrl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chainer/chainerrl/downloads","issues_url":"https://api.github.com/repos/chainer/chainerrl/issues{/number}","pulls_url":"https://api.github.com/repos/chainer/chainerrl/pulls{/number}","milestones_url":"https://api.github.com/repos/chainer/chainerrl/milestones{/number}","notifications_url":"https://api.github.com/repos/chainer/chainerrl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chainer/chainerrl/labels{/name}","releases_url":"https://api.github.com/repos/chainer/chainerrl/releases{/id}","deployments_url":"https://api.github.com/repos/chainer/chainerrl/deployments","created_at":"2017-01-30T04:58:15Z","updated_at":"2018-07-08T01:58:32Z","pushed_at":"2018-07-03T21:54:16Z","git_url":"git://github.com/chainer/chainerrl.git","ssh_url":"git@github.com:chainer/chainerrl.git","clone_url":"https://github.com/chainer/chainerrl.git","svn_url":"https://github.com/chainer/chainerrl","homepage":"","size":8386,"stargazers_count":489,"watchers_count":489,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":114,"mirror_url":null,"archived":false,"open_issues_count":75,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":114,"open_issues":75,"watchers":489,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chainer/chainerrl/pulls/286"},"html":{"href":"https://github.com/chainer/chainerrl/pull/286"},"issue":{"href":"https://api.github.com/repos/chainer/chainerrl/issues/286"},"comments":{"href":"https://api.github.com/repos/chainer/chainerrl/issues/286/comments"},"review_comments":{"href":"https://api.github.com/repos/chainer/chainerrl/pulls/286/comments"},"review_comment":{"href":"https://api.github.com/repos/chainer/chainerrl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chainer/chainerrl/pulls/286/commits"},"statuses":{"href":"https://api.github.com/repos/chainer/chainerrl/statuses/2322e5a626ce4539f1e72cb34f6fb4f280bedbf8"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":12,"deletions":12,"changed_files":6}}
{"actor":{"display_login":"mmilk1231"}}