{"action":"opened","number":344,"pull_request":{"url":"https://api.github.com/repos/crsmithdev/arrow/pulls/344","id":77094701,"html_url":"https://github.com/crsmithdev/arrow/pull/344","diff_url":"https://github.com/crsmithdev/arrow/pull/344.diff","patch_url":"https://github.com/crsmithdev/arrow/pull/344.patch","issue_url":"https://api.github.com/repos/crsmithdev/arrow/issues/344","number":344,"state":"open","locked":false,"title":"return NotImplemented instead of raising TypeError","user":{"login":"flokli","id":183879,"avatar_url":"https://avatars.githubusercontent.com/u/183879?v=3","gravatar_id":"","url":"https://api.github.com/users/flokli","html_url":"https://github.com/flokli","followers_url":"https://api.github.com/users/flokli/followers","following_url":"https://api.github.com/users/flokli/following{/other_user}","gists_url":"https://api.github.com/users/flokli/gists{/gist_id}","starred_url":"https://api.github.com/users/flokli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flokli/subscriptions","organizations_url":"https://api.github.com/users/flokli/orgs","repos_url":"https://api.github.com/users/flokli/repos","events_url":"https://api.github.com/users/flokli/events{/privacy}","received_events_url":"https://api.github.com/users/flokli/received_events","type":"User","site_admin":false},"body":"`TypeError` will already be raised by Python, if both object\r\nimplementations  don't know how to handle the other type.\r\n\r\nThis allows other classes to implement a `__rOperation__`, even\r\nwhen arrow doesn't know how to handle it with `__Operation__` itself.\r\n\r\nFrom the docs:\r\n\r\n**NotImplemented:**\r\nSpecial value which should be returned by the binary special methods\r\n(e.g. `__eq__()`, `__lt__()`, `__add__()`, `__rsub__()`, etc.) to indicate that\r\nthe operation is not implemented with respect to the other type; may be\r\nreturned by the in-place binary special methods (e.g. `__imul__()`,\r\n`__iand__()`, etc.) for the same purpose. Its truth value is `true`.\r\n\r\n**Binary arithmetic operations:**\r\n[...]\r\nIf one of those methods does not support the operation with the supplied\r\narguments, it should return `NotImplemented`.\r\n\r\n**Rich comparison methods:**\r\nA rich comparison method may return the singleton `NotImplemented` if it\r\ndoes not implement the operation for a given pair of arguments.","created_at":"2016-07-12T10:17:08Z","updated_at":"2016-07-12T10:17:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/crsmithdev/arrow/pulls/344/commits","review_comments_url":"https://api.github.com/repos/crsmithdev/arrow/pulls/344/comments","review_comment_url":"https://api.github.com/repos/crsmithdev/arrow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crsmithdev/arrow/issues/344/comments","statuses_url":"https://api.github.com/repos/crsmithdev/arrow/statuses/fbba3f2312652efd2f75a17753de2e38c5b9576c","head":{"label":"flokli:master","ref":"master","sha":"fbba3f2312652efd2f75a17753de2e38c5b9576c","user":{"login":"flokli","id":183879,"avatar_url":"https://avatars.githubusercontent.com/u/183879?v=3","gravatar_id":"","url":"https://api.github.com/users/flokli","html_url":"https://github.com/flokli","followers_url":"https://api.github.com/users/flokli/followers","following_url":"https://api.github.com/users/flokli/following{/other_user}","gists_url":"https://api.github.com/users/flokli/gists{/gist_id}","starred_url":"https://api.github.com/users/flokli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flokli/subscriptions","organizations_url":"https://api.github.com/users/flokli/orgs","repos_url":"https://api.github.com/users/flokli/repos","events_url":"https://api.github.com/users/flokli/events{/privacy}","received_events_url":"https://api.github.com/users/flokli/received_events","type":"User","site_admin":false},"repo":{"id":63145773,"name":"arrow","full_name":"flokli/arrow","owner":{"login":"flokli","id":183879,"avatar_url":"https://avatars.githubusercontent.com/u/183879?v=3","gravatar_id":"","url":"https://api.github.com/users/flokli","html_url":"https://github.com/flokli","followers_url":"https://api.github.com/users/flokli/followers","following_url":"https://api.github.com/users/flokli/following{/other_user}","gists_url":"https://api.github.com/users/flokli/gists{/gist_id}","starred_url":"https://api.github.com/users/flokli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flokli/subscriptions","organizations_url":"https://api.github.com/users/flokli/orgs","repos_url":"https://api.github.com/users/flokli/repos","events_url":"https://api.github.com/users/flokli/events{/privacy}","received_events_url":"https://api.github.com/users/flokli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/flokli/arrow","description":"Better dates & times for Python","fork":true,"url":"https://api.github.com/repos/flokli/arrow","forks_url":"https://api.github.com/repos/flokli/arrow/forks","keys_url":"https://api.github.com/repos/flokli/arrow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flokli/arrow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flokli/arrow/teams","hooks_url":"https://api.github.com/repos/flokli/arrow/hooks","issue_events_url":"https://api.github.com/repos/flokli/arrow/issues/events{/number}","events_url":"https://api.github.com/repos/flokli/arrow/events","assignees_url":"https://api.github.com/repos/flokli/arrow/assignees{/user}","branches_url":"https://api.github.com/repos/flokli/arrow/branches{/branch}","tags_url":"https://api.github.com/repos/flokli/arrow/tags","blobs_url":"https://api.github.com/repos/flokli/arrow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flokli/arrow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flokli/arrow/git/refs{/sha}","trees_url":"https://api.github.com/repos/flokli/arrow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flokli/arrow/statuses/{sha}","languages_url":"https://api.github.com/repos/flokli/arrow/languages","stargazers_url":"https://api.github.com/repos/flokli/arrow/stargazers","contributors_url":"https://api.github.com/repos/flokli/arrow/contributors","subscribers_url":"https://api.github.com/repos/flokli/arrow/subscribers","subscription_url":"https://api.github.com/repos/flokli/arrow/subscription","commits_url":"https://api.github.com/repos/flokli/arrow/commits{/sha}","git_commits_url":"https://api.github.com/repos/flokli/arrow/git/commits{/sha}","comments_url":"https://api.github.com/repos/flokli/arrow/comments{/number}","issue_comment_url":"https://api.github.com/repos/flokli/arrow/issues/comments{/number}","contents_url":"https://api.github.com/repos/flokli/arrow/contents/{+path}","compare_url":"https://api.github.com/repos/flokli/arrow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flokli/arrow/merges","archive_url":"https://api.github.com/repos/flokli/arrow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flokli/arrow/downloads","issues_url":"https://api.github.com/repos/flokli/arrow/issues{/number}","pulls_url":"https://api.github.com/repos/flokli/arrow/pulls{/number}","milestones_url":"https://api.github.com/repos/flokli/arrow/milestones{/number}","notifications_url":"https://api.github.com/repos/flokli/arrow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flokli/arrow/labels{/name}","releases_url":"https://api.github.com/repos/flokli/arrow/releases{/id}","deployments_url":"https://api.github.com/repos/flokli/arrow/deployments","created_at":"2016-07-12T09:38:20Z","updated_at":"2016-07-12T09:38:22Z","pushed_at":"2016-07-12T10:13:08Z","git_url":"git://github.com/flokli/arrow.git","ssh_url":"git@github.com:flokli/arrow.git","clone_url":"https://github.com/flokli/arrow.git","svn_url":"https://github.com/flokli/arrow","homepage":"https://arrow.readthedocs.org","size":1669,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"crsmithdev:master","ref":"master","sha":"319f2d0651b2832445022fa2d4fa1a57a319b725","user":{"login":"crsmithdev","id":1596037,"avatar_url":"https://avatars.githubusercontent.com/u/1596037?v=3","gravatar_id":"","url":"https://api.github.com/users/crsmithdev","html_url":"https://github.com/crsmithdev","followers_url":"https://api.github.com/users/crsmithdev/followers","following_url":"https://api.github.com/users/crsmithdev/following{/other_user}","gists_url":"https://api.github.com/users/crsmithdev/gists{/gist_id}","starred_url":"https://api.github.com/users/crsmithdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crsmithdev/subscriptions","organizations_url":"https://api.github.com/users/crsmithdev/orgs","repos_url":"https://api.github.com/users/crsmithdev/repos","events_url":"https://api.github.com/users/crsmithdev/events{/privacy}","received_events_url":"https://api.github.com/users/crsmithdev/received_events","type":"User","site_admin":false},"repo":{"id":6750871,"name":"arrow","full_name":"crsmithdev/arrow","owner":{"login":"crsmithdev","id":1596037,"avatar_url":"https://avatars.githubusercontent.com/u/1596037?v=3","gravatar_id":"","url":"https://api.github.com/users/crsmithdev","html_url":"https://github.com/crsmithdev","followers_url":"https://api.github.com/users/crsmithdev/followers","following_url":"https://api.github.com/users/crsmithdev/following{/other_user}","gists_url":"https://api.github.com/users/crsmithdev/gists{/gist_id}","starred_url":"https://api.github.com/users/crsmithdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crsmithdev/subscriptions","organizations_url":"https://api.github.com/users/crsmithdev/orgs","repos_url":"https://api.github.com/users/crsmithdev/repos","events_url":"https://api.github.com/users/crsmithdev/events{/privacy}","received_events_url":"https://api.github.com/users/crsmithdev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/crsmithdev/arrow","description":"Better dates & times for Python","fork":false,"url":"https://api.github.com/repos/crsmithdev/arrow","forks_url":"https://api.github.com/repos/crsmithdev/arrow/forks","keys_url":"https://api.github.com/repos/crsmithdev/arrow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crsmithdev/arrow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crsmithdev/arrow/teams","hooks_url":"https://api.github.com/repos/crsmithdev/arrow/hooks","issue_events_url":"https://api.github.com/repos/crsmithdev/arrow/issues/events{/number}","events_url":"https://api.github.com/repos/crsmithdev/arrow/events","assignees_url":"https://api.github.com/repos/crsmithdev/arrow/assignees{/user}","branches_url":"https://api.github.com/repos/crsmithdev/arrow/branches{/branch}","tags_url":"https://api.github.com/repos/crsmithdev/arrow/tags","blobs_url":"https://api.github.com/repos/crsmithdev/arrow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crsmithdev/arrow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crsmithdev/arrow/git/refs{/sha}","trees_url":"https://api.github.com/repos/crsmithdev/arrow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crsmithdev/arrow/statuses/{sha}","languages_url":"https://api.github.com/repos/crsmithdev/arrow/languages","stargazers_url":"https://api.github.com/repos/crsmithdev/arrow/stargazers","contributors_url":"https://api.github.com/repos/crsmithdev/arrow/contributors","subscribers_url":"https://api.github.com/repos/crsmithdev/arrow/subscribers","subscription_url":"https://api.github.com/repos/crsmithdev/arrow/subscription","commits_url":"https://api.github.com/repos/crsmithdev/arrow/commits{/sha}","git_commits_url":"https://api.github.com/repos/crsmithdev/arrow/git/commits{/sha}","comments_url":"https://api.github.com/repos/crsmithdev/arrow/comments{/number}","issue_comment_url":"https://api.github.com/repos/crsmithdev/arrow/issues/comments{/number}","contents_url":"https://api.github.com/repos/crsmithdev/arrow/contents/{+path}","compare_url":"https://api.github.com/repos/crsmithdev/arrow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crsmithdev/arrow/merges","archive_url":"https://api.github.com/repos/crsmithdev/arrow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crsmithdev/arrow/downloads","issues_url":"https://api.github.com/repos/crsmithdev/arrow/issues{/number}","pulls_url":"https://api.github.com/repos/crsmithdev/arrow/pulls{/number}","milestones_url":"https://api.github.com/repos/crsmithdev/arrow/milestones{/number}","notifications_url":"https://api.github.com/repos/crsmithdev/arrow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crsmithdev/arrow/labels{/name}","releases_url":"https://api.github.com/repos/crsmithdev/arrow/releases{/id}","deployments_url":"https://api.github.com/repos/crsmithdev/arrow/deployments","created_at":"2012-11-18T20:23:27Z","updated_at":"2016-07-12T09:28:27Z","pushed_at":"2016-06-28T20:58:16Z","git_url":"git://github.com/crsmithdev/arrow.git","ssh_url":"git@github.com:crsmithdev/arrow.git","clone_url":"https://github.com/crsmithdev/arrow.git","svn_url":"https://github.com/crsmithdev/arrow","homepage":"https://arrow.readthedocs.org","size":1669,"stargazers_count":3142,"watchers_count":3142,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":267,"mirror_url":null,"open_issues_count":84,"forks":267,"open_issues":84,"watchers":3142,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crsmithdev/arrow/pulls/344"},"html":{"href":"https://github.com/crsmithdev/arrow/pull/344"},"issue":{"href":"https://api.github.com/repos/crsmithdev/arrow/issues/344"},"comments":{"href":"https://api.github.com/repos/crsmithdev/arrow/issues/344/comments"},"review_comments":{"href":"https://api.github.com/repos/crsmithdev/arrow/pulls/344/comments"},"review_comment":{"href":"https://api.github.com/repos/crsmithdev/arrow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crsmithdev/arrow/pulls/344/commits"},"statuses":{"href":"https://api.github.com/repos/crsmithdev/arrow/statuses/fbba3f2312652efd2f75a17753de2e38c5b9576c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":15,"deletions":15,"changed_files":2}}
{"actor":{"display_login":"flokli"}}