{"action":"created","comment":{"url":"https://api.github.com/repos/python/typeshed/pulls/comments/202510683","pull_request_review_id":137233730,"id":202510683,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjUxMDY4Mw==","diff_hunk":"@@ -209,94 +213,97 @@ class Context:\n         clamp: int\n     else:\n         _clamp: int\n-    traps: Dict[type, bool]\n-    flags: Any\n+    traps: Dict[_TrapType, bool]\n+    flags: Dict[_TrapType, bool]\n     if sys.version_info >= (3,):\n         def __init__(self, prec: Optional[int] = ..., rounding: Optional[str] = ...,\n                      Emin: Optional[int] = ..., Emax: Optional[int] = ...,\n                      capitals: Optional[int] = ..., clamp: Optional[int] = ...,\n-                     flags=..., traps=...,\n-                     _ignored_flags=...) -> None: ...\n+                     flags: Union[None, Dict[_TrapType, bool], Container[_TrapType]] = ...,\n+                     traps: Union[None, Dict[_TrapType, bool], Container[_TrapType]] = ...,\n+                     _ignored_flags: Optional[List[_TrapType]] = ...) -> None: ...\n     else:\n         def __init__(self, prec: Optional[int] = ..., rounding: Optional[str] = ...,\n-                     traps=..., flags=...,\n+                     traps: Union[None, Dict[_TrapType, bool], Container[_TrapType]] = ...,\n+                     flags: Union[None, Dict[_TrapType, bool], Container[_TrapType]] = ...,\n                      Emin: Optional[int] = ..., Emax: Optional[int] = ...,\n                      capitals: Optional[int] = ..., _clamp: Optional[int] = ...,\n-                     _ignored_flags=...) -> None: ...\n+                     _ignored_flags: Optional[List[_TrapType]] = ...) -> None: ...\n     if sys.version_info >= (3,):\n-        def __delattr__(self, name): ...\n-        def __reduce__(self): ...\n-    def clear_flags(self): ...\n+        def __setattr__(self, name: str, value: Any) -> Any: ...","path":"stdlib/2and3/decimal.pyi","position":292,"original_position":292,"commit_id":"70f991ac6b5b31f6ba9a901a7b57d93542226ca0","original_commit_id":"70f991ac6b5b31f6ba9a901a7b57d93542226ca0","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":"I replaced it with a comment saying so, for future reference.","created_at":"2018-07-14T09:12:03Z","updated_at":"2018-07-14T09:12:03Z","html_url":"https://github.com/python/typeshed/pull/2323#discussion_r202510683","pull_request_url":"https://api.github.com/repos/python/typeshed/pulls/2323","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/python/typeshed/pulls/comments/202510683"},"html":{"href":"https://github.com/python/typeshed/pull/2323#discussion_r202510683"},"pull_request":{"href":"https://api.github.com/repos/python/typeshed/pulls/2323"}},"in_reply_to_id":202503596},"pull_request":{"url":"https://api.github.com/repos/python/typeshed/pulls/2323","id":200782364,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwNzgyMzY0","html_url":"https://github.com/python/typeshed/pull/2323","diff_url":"https://github.com/python/typeshed/pull/2323.diff","patch_url":"https://github.com/python/typeshed/pull/2323.patch","issue_url":"https://api.github.com/repos/python/typeshed/issues/2323","number":2323,"state":"open","locked":false,"title":"Fix decimal","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":"Fix various problems with decimal and add missing annotations.","created_at":"2018-07-11T18:05:27Z","updated_at":"2018-07-14T09:12:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"60c2c9cc2798af68c059d7fff7afda70e8803428","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/python/typeshed/pulls/2323/commits","review_comments_url":"https://api.github.com/repos/python/typeshed/pulls/2323/comments","review_comment_url":"https://api.github.com/repos/python/typeshed/pulls/comments{/number}","comments_url":"https://api.github.com/repos/python/typeshed/issues/2323/comments","statuses_url":"https://api.github.com/repos/python/typeshed/statuses/70f991ac6b5b31f6ba9a901a7b57d93542226ca0","head":{"label":"srittau:fix-decimal","ref":"fix-decimal","sha":"70f991ac6b5b31f6ba9a901a7b57d93542226ca0","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-07-14T09:06:34Z","pushed_at":"2018-07-14T09:06:32Z","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":3573,"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":"0bc98a18f0d6209d26c5a4a753febc3e6ae75b63","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-07-14T08:18:16Z","pushed_at":"2018-07-14T06:01:38Z","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":3588,"stargazers_count":770,"watchers_count":770,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":455,"mirror_url":null,"archived":false,"open_issues_count":112,"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":455,"open_issues":112,"watchers":770,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/python/typeshed/pulls/2323"},"html":{"href":"https://github.com/python/typeshed/pull/2323"},"issue":{"href":"https://api.github.com/repos/python/typeshed/issues/2323"},"comments":{"href":"https://api.github.com/repos/python/typeshed/issues/2323/comments"},"review_comments":{"href":"https://api.github.com/repos/python/typeshed/pulls/2323/comments"},"review_comment":{"href":"https://api.github.com/repos/python/typeshed/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/python/typeshed/pulls/2323/commits"},"statuses":{"href":"https://api.github.com/repos/python/typeshed/statuses/70f991ac6b5b31f6ba9a901a7b57d93542226ca0"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"srittau"}}