{"action":"created","comment":{"url":"https://api.github.com/repos/python/typeshed/pulls/comments/196978331","pull_request_review_id":130629786,"id":196978331,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5Njk3ODMzMQ==","diff_hunk":"@@ -1,34 +1,51 @@\n-# Stubs for shutil\n import os\n import sys\n \n-# Based on http://docs.python.org/3.2/library/shutil.html\n-\n # 'bytes' paths are not properly supported: they don't work with all functions,\n # sometimes they only work partially (broken exception messages), and the test\n # cases don't use them.\n \n from typing import (\n     List, Iterable, Callable, Any, Tuple, Sequence, NamedTuple, IO,\n-    AnyStr, Optional, Union\n+    AnyStr, Optional, Union, Set, TypeVar, overload, Type\n )\n \n if sys.version_info >= (3, 6):\n     _Path = Union[str, os.PathLike[str]]\n+    _AnyStr = str\n+    _AnyPath = TypeVar(\"_AnyPath\", str, os.PathLike[str])","path":"stdlib/2and3/shutil.pyi","position":20,"original_position":20,"commit_id":"8dc0acd92b5528292e76af39fef39fe1e149d581","original_commit_id":"8dc0acd92b5528292e76af39fef39fe1e149d581","user":{"login":"JelleZijlstra","id":906600,"node_id":"MDQ6VXNlcjkwNjYwMA==","avatar_url":"https://avatars0.githubusercontent.com/u/906600?v=4","gravatar_id":"","url":"https://api.github.com/users/JelleZijlstra","html_url":"https://github.com/JelleZijlstra","followers_url":"https://api.github.com/users/JelleZijlstra/followers","following_url":"https://api.github.com/users/JelleZijlstra/following{/other_user}","gists_url":"https://api.github.com/users/JelleZijlstra/gists{/gist_id}","starred_url":"https://api.github.com/users/JelleZijlstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JelleZijlstra/subscriptions","organizations_url":"https://api.github.com/users/JelleZijlstra/orgs","repos_url":"https://api.github.com/users/JelleZijlstra/repos","events_url":"https://api.github.com/users/JelleZijlstra/events{/privacy}","received_events_url":"https://api.github.com/users/JelleZijlstra/received_events","type":"User","site_admin":false},"body":"Reminder to self: I'm worried about these conditionally defined typevars. Do they make sense for all use cases?","created_at":"2018-06-21T00:07:12Z","updated_at":"2018-06-21T00:07:12Z","html_url":"https://github.com/python/typeshed/pull/2259#discussion_r196978331","pull_request_url":"https://api.github.com/repos/python/typeshed/pulls/2259","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/python/typeshed/pulls/comments/196978331"},"html":{"href":"https://github.com/python/typeshed/pull/2259#discussion_r196978331"},"pull_request":{"href":"https://api.github.com/repos/python/typeshed/pulls/2259"}}},"pull_request":{"url":"https://api.github.com/repos/python/typeshed/pulls/2259","id":195977205,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1OTc3MjA1","html_url":"https://github.com/python/typeshed/pull/2259","diff_url":"https://github.com/python/typeshed/pull/2259.diff","patch_url":"https://github.com/python/typeshed/pull/2259.patch","issue_url":"https://api.github.com/repos/python/typeshed/issues/2259","number":2259,"state":"open","locked":false,"title":"Merge Python 2 and 3 shutil","user":{"login":"srittau","id":52799,"node_id":"MDQ6VXNlcjUyNzk5","avatar_url":"https://avatars3.githubusercontent.com/u/52799?v=4","gravatar_id":"","url":"https://api.github.com/users/srittau","html_url":"https://github.com/srittau","followers_url":"https://api.github.com/users/srittau/followers","following_url":"https://api.github.com/users/srittau/following{/other_user}","gists_url":"https://api.github.com/users/srittau/gists{/gist_id}","starred_url":"https://api.github.com/users/srittau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srittau/subscriptions","organizations_url":"https://api.github.com/users/srittau/orgs","repos_url":"https://api.github.com/users/srittau/repos","events_url":"https://api.github.com/users/srittau/events{/privacy}","received_events_url":"https://api.github.com/users/srittau/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-19T22:37:01Z","updated_at":"2018-06-21T00:07:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3fa38c64ab6c6cb1f0570420bea54b567fed5131","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/python/typeshed/pulls/2259/commits","review_comments_url":"https://api.github.com/repos/python/typeshed/pulls/2259/comments","review_comment_url":"https://api.github.com/repos/python/typeshed/pulls/comments{/number}","comments_url":"https://api.github.com/repos/python/typeshed/issues/2259/comments","statuses_url":"https://api.github.com/repos/python/typeshed/statuses/8dc0acd92b5528292e76af39fef39fe1e149d581","head":{"label":"srittau:merge-shutil","ref":"merge-shutil","sha":"8dc0acd92b5528292e76af39fef39fe1e149d581","user":{"login":"srittau","id":52799,"node_id":"MDQ6VXNlcjUyNzk5","avatar_url":"https://avatars3.githubusercontent.com/u/52799?v=4","gravatar_id":"","url":"https://api.github.com/users/srittau","html_url":"https://github.com/srittau","followers_url":"https://api.github.com/users/srittau/followers","following_url":"https://api.github.com/users/srittau/following{/other_user}","gists_url":"https://api.github.com/users/srittau/gists{/gist_id}","starred_url":"https://api.github.com/users/srittau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srittau/subscriptions","organizations_url":"https://api.github.com/users/srittau/orgs","repos_url":"https://api.github.com/users/srittau/repos","events_url":"https://api.github.com/users/srittau/events{/privacy}","received_events_url":"https://api.github.com/users/srittau/received_events","type":"User","site_admin":false},"repo":{"id":108254577,"node_id":"MDEwOlJlcG9zaXRvcnkxMDgyNTQ1Nzc=","name":"typeshed","full_name":"srittau/typeshed","owner":{"login":"srittau","id":52799,"node_id":"MDQ6VXNlcjUyNzk5","avatar_url":"https://avatars3.githubusercontent.com/u/52799?v=4","gravatar_id":"","url":"https://api.github.com/users/srittau","html_url":"https://github.com/srittau","followers_url":"https://api.github.com/users/srittau/followers","following_url":"https://api.github.com/users/srittau/following{/other_user}","gists_url":"https://api.github.com/users/srittau/gists{/gist_id}","starred_url":"https://api.github.com/users/srittau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srittau/subscriptions","organizations_url":"https://api.github.com/users/srittau/orgs","repos_url":"https://api.github.com/users/srittau/repos","events_url":"https://api.github.com/users/srittau/events{/privacy}","received_events_url":"https://api.github.com/users/srittau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/srittau/typeshed","description":"Collection of library stubs for Python, with static types","fork":true,"url":"https://api.github.com/repos/srittau/typeshed","forks_url":"https://api.github.com/repos/srittau/typeshed/forks","keys_url":"https://api.github.com/repos/srittau/typeshed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/srittau/typeshed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/srittau/typeshed/teams","hooks_url":"https://api.github.com/repos/srittau/typeshed/hooks","issue_events_url":"https://api.github.com/repos/srittau/typeshed/issues/events{/number}","events_url":"https://api.github.com/repos/srittau/typeshed/events","assignees_url":"https://api.github.com/repos/srittau/typeshed/assignees{/user}","branches_url":"https://api.github.com/repos/srittau/typeshed/branches{/branch}","tags_url":"https://api.github.com/repos/srittau/typeshed/tags","blobs_url":"https://api.github.com/repos/srittau/typeshed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/srittau/typeshed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/srittau/typeshed/git/refs{/sha}","trees_url":"https://api.github.com/repos/srittau/typeshed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/srittau/typeshed/statuses/{sha}","languages_url":"https://api.github.com/repos/srittau/typeshed/languages","stargazers_url":"https://api.github.com/repos/srittau/typeshed/stargazers","contributors_url":"https://api.github.com/repos/srittau/typeshed/contributors","subscribers_url":"https://api.github.com/repos/srittau/typeshed/subscribers","subscription_url":"https://api.github.com/repos/srittau/typeshed/subscription","commits_url":"https://api.github.com/repos/srittau/typeshed/commits{/sha}","git_commits_url":"https://api.github.com/repos/srittau/typeshed/git/commits{/sha}","comments_url":"https://api.github.com/repos/srittau/typeshed/comments{/number}","issue_comment_url":"https://api.github.com/repos/srittau/typeshed/issues/comments{/number}","contents_url":"https://api.github.com/repos/srittau/typeshed/contents/{+path}","compare_url":"https://api.github.com/repos/srittau/typeshed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/srittau/typeshed/merges","archive_url":"https://api.github.com/repos/srittau/typeshed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/srittau/typeshed/downloads","issues_url":"https://api.github.com/repos/srittau/typeshed/issues{/number}","pulls_url":"https://api.github.com/repos/srittau/typeshed/pulls{/number}","milestones_url":"https://api.github.com/repos/srittau/typeshed/milestones{/number}","notifications_url":"https://api.github.com/repos/srittau/typeshed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/srittau/typeshed/labels{/name}","releases_url":"https://api.github.com/repos/srittau/typeshed/releases{/id}","deployments_url":"https://api.github.com/repos/srittau/typeshed/deployments","created_at":"2017-10-25T10:23:29Z","updated_at":"2018-06-20T23:53:39Z","pushed_at":"2018-06-20T23:53:38Z","git_url":"git://github.com/srittau/typeshed.git","ssh_url":"git@github.com:srittau/typeshed.git","clone_url":"https://github.com/srittau/typeshed.git","svn_url":"https://github.com/srittau/typeshed","homepage":null,"size":3484,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"python:master","ref":"master","sha":"07374a825106a977212ee640173a105e3d20d77f","user":{"login":"python","id":1525981,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MjU5ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/1525981?v=4","gravatar_id":"","url":"https://api.github.com/users/python","html_url":"https://github.com/python","followers_url":"https://api.github.com/users/python/followers","following_url":"https://api.github.com/users/python/following{/other_user}","gists_url":"https://api.github.com/users/python/gists{/gist_id}","starred_url":"https://api.github.com/users/python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python/subscriptions","organizations_url":"https://api.github.com/users/python/orgs","repos_url":"https://api.github.com/users/python/repos","events_url":"https://api.github.com/users/python/events{/privacy}","received_events_url":"https://api.github.com/users/python/received_events","type":"Organization","site_admin":false},"repo":{"id":31696383,"node_id":"MDEwOlJlcG9zaXRvcnkzMTY5NjM4Mw==","name":"typeshed","full_name":"python/typeshed","owner":{"login":"python","id":1525981,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MjU5ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/1525981?v=4","gravatar_id":"","url":"https://api.github.com/users/python","html_url":"https://github.com/python","followers_url":"https://api.github.com/users/python/followers","following_url":"https://api.github.com/users/python/following{/other_user}","gists_url":"https://api.github.com/users/python/gists{/gist_id}","starred_url":"https://api.github.com/users/python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python/subscriptions","organizations_url":"https://api.github.com/users/python/orgs","repos_url":"https://api.github.com/users/python/repos","events_url":"https://api.github.com/users/python/events{/privacy}","received_events_url":"https://api.github.com/users/python/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/python/typeshed","description":"Collection of library stubs for Python, with static types","fork":false,"url":"https://api.github.com/repos/python/typeshed","forks_url":"https://api.github.com/repos/python/typeshed/forks","keys_url":"https://api.github.com/repos/python/typeshed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/python/typeshed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/python/typeshed/teams","hooks_url":"https://api.github.com/repos/python/typeshed/hooks","issue_events_url":"https://api.github.com/repos/python/typeshed/issues/events{/number}","events_url":"https://api.github.com/repos/python/typeshed/events","assignees_url":"https://api.github.com/repos/python/typeshed/assignees{/user}","branches_url":"https://api.github.com/repos/python/typeshed/branches{/branch}","tags_url":"https://api.github.com/repos/python/typeshed/tags","blobs_url":"https://api.github.com/repos/python/typeshed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/python/typeshed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/python/typeshed/git/refs{/sha}","trees_url":"https://api.github.com/repos/python/typeshed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/python/typeshed/statuses/{sha}","languages_url":"https://api.github.com/repos/python/typeshed/languages","stargazers_url":"https://api.github.com/repos/python/typeshed/stargazers","contributors_url":"https://api.github.com/repos/python/typeshed/contributors","subscribers_url":"https://api.github.com/repos/python/typeshed/subscribers","subscription_url":"https://api.github.com/repos/python/typeshed/subscription","commits_url":"https://api.github.com/repos/python/typeshed/commits{/sha}","git_commits_url":"https://api.github.com/repos/python/typeshed/git/commits{/sha}","comments_url":"https://api.github.com/repos/python/typeshed/comments{/number}","issue_comment_url":"https://api.github.com/repos/python/typeshed/issues/comments{/number}","contents_url":"https://api.github.com/repos/python/typeshed/contents/{+path}","compare_url":"https://api.github.com/repos/python/typeshed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/python/typeshed/merges","archive_url":"https://api.github.com/repos/python/typeshed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/python/typeshed/downloads","issues_url":"https://api.github.com/repos/python/typeshed/issues{/number}","pulls_url":"https://api.github.com/repos/python/typeshed/pulls{/number}","milestones_url":"https://api.github.com/repos/python/typeshed/milestones{/number}","notifications_url":"https://api.github.com/repos/python/typeshed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/python/typeshed/labels{/name}","releases_url":"https://api.github.com/repos/python/typeshed/releases{/id}","deployments_url":"https://api.github.com/repos/python/typeshed/deployments","created_at":"2015-03-05T04:51:28Z","updated_at":"2018-06-20T23:49:53Z","pushed_at":"2018-06-20T23:49:49Z","git_url":"git://github.com/python/typeshed.git","ssh_url":"git@github.com:python/typeshed.git","clone_url":"https://github.com/python/typeshed.git","svn_url":"https://github.com/python/typeshed","homepage":null,"size":3485,"stargazers_count":752,"watchers_count":752,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":444,"mirror_url":null,"archived":false,"open_issues_count":107,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":444,"open_issues":107,"watchers":752,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/python/typeshed/pulls/2259"},"html":{"href":"https://github.com/python/typeshed/pull/2259"},"issue":{"href":"https://api.github.com/repos/python/typeshed/issues/2259"},"comments":{"href":"https://api.github.com/repos/python/typeshed/issues/2259/comments"},"review_comments":{"href":"https://api.github.com/repos/python/typeshed/pulls/2259/comments"},"review_comment":{"href":"https://api.github.com/repos/python/typeshed/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/python/typeshed/pulls/2259/commits"},"statuses":{"href":"https://api.github.com/repos/python/typeshed/statuses/8dc0acd92b5528292e76af39fef39fe1e149d581"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"JelleZijlstra"}}