{"action":"opened","number":120,"pull_request":{"url":"https://api.github.com/repos/colcon/colcon-core/pulls/120","id":222569762,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNTY5NzYy","html_url":"https://github.com/colcon/colcon-core/pull/120","diff_url":"https://github.com/colcon/colcon-core/pull/120.diff","patch_url":"https://github.com/colcon/colcon-core/pull/120.patch","issue_url":"https://api.github.com/repos/colcon/colcon-core/issues/120","number":120,"state":"open","locked":false,"title":"Update python incompatible version algorithm to use tuple unpacking","user":{"login":"murphm8","id":49941,"node_id":"MDQ6VXNlcjQ5OTQx","avatar_url":"https://avatars0.githubusercontent.com/u/49941?v=4","gravatar_id":"","url":"https://api.github.com/users/murphm8","html_url":"https://github.com/murphm8","followers_url":"https://api.github.com/users/murphm8/followers","following_url":"https://api.github.com/users/murphm8/following{/other_user}","gists_url":"https://api.github.com/users/murphm8/gists{/gist_id}","starred_url":"https://api.github.com/users/murphm8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murphm8/subscriptions","organizations_url":"https://api.github.com/users/murphm8/orgs","repos_url":"https://api.github.com/users/murphm8/repos","events_url":"https://api.github.com/users/murphm8/events{/privacy}","received_events_url":"https://api.github.com/users/murphm8/received_events","type":"User","site_admin":false},"body":"I just read a blog [post](http://treyhunner.com/2018/10/asterisks-in-python-what-they-are-and-how-to-use-them/) and was inspired to create a more pythonic solution for this algorithm, thought I'd share. ","created_at":"2018-10-12T19:52:50Z","updated_at":"2018-10-12T19:52:50Z","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/colcon/colcon-core/pulls/120/commits","review_comments_url":"https://api.github.com/repos/colcon/colcon-core/pulls/120/comments","review_comment_url":"https://api.github.com/repos/colcon/colcon-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/colcon/colcon-core/issues/120/comments","statuses_url":"https://api.github.com/repos/colcon/colcon-core/statuses/f78abe7907703e8a20887172c1e538c5ee924e01","head":{"label":"murphm8:tuple_unpacking","ref":"tuple_unpacking","sha":"f78abe7907703e8a20887172c1e538c5ee924e01","user":{"login":"murphm8","id":49941,"node_id":"MDQ6VXNlcjQ5OTQx","avatar_url":"https://avatars0.githubusercontent.com/u/49941?v=4","gravatar_id":"","url":"https://api.github.com/users/murphm8","html_url":"https://github.com/murphm8","followers_url":"https://api.github.com/users/murphm8/followers","following_url":"https://api.github.com/users/murphm8/following{/other_user}","gists_url":"https://api.github.com/users/murphm8/gists{/gist_id}","starred_url":"https://api.github.com/users/murphm8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murphm8/subscriptions","organizations_url":"https://api.github.com/users/murphm8/orgs","repos_url":"https://api.github.com/users/murphm8/repos","events_url":"https://api.github.com/users/murphm8/events{/privacy}","received_events_url":"https://api.github.com/users/murphm8/received_events","type":"User","site_admin":false},"repo":{"id":146930307,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY5MzAzMDc=","name":"colcon-core","full_name":"murphm8/colcon-core","private":false,"owner":{"login":"murphm8","id":49941,"node_id":"MDQ6VXNlcjQ5OTQx","avatar_url":"https://avatars0.githubusercontent.com/u/49941?v=4","gravatar_id":"","url":"https://api.github.com/users/murphm8","html_url":"https://github.com/murphm8","followers_url":"https://api.github.com/users/murphm8/followers","following_url":"https://api.github.com/users/murphm8/following{/other_user}","gists_url":"https://api.github.com/users/murphm8/gists{/gist_id}","starred_url":"https://api.github.com/users/murphm8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murphm8/subscriptions","organizations_url":"https://api.github.com/users/murphm8/orgs","repos_url":"https://api.github.com/users/murphm8/repos","events_url":"https://api.github.com/users/murphm8/events{/privacy}","received_events_url":"https://api.github.com/users/murphm8/received_events","type":"User","site_admin":false},"html_url":"https://github.com/murphm8/colcon-core","description":null,"fork":true,"url":"https://api.github.com/repos/murphm8/colcon-core","forks_url":"https://api.github.com/repos/murphm8/colcon-core/forks","keys_url":"https://api.github.com/repos/murphm8/colcon-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/murphm8/colcon-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/murphm8/colcon-core/teams","hooks_url":"https://api.github.com/repos/murphm8/colcon-core/hooks","issue_events_url":"https://api.github.com/repos/murphm8/colcon-core/issues/events{/number}","events_url":"https://api.github.com/repos/murphm8/colcon-core/events","assignees_url":"https://api.github.com/repos/murphm8/colcon-core/assignees{/user}","branches_url":"https://api.github.com/repos/murphm8/colcon-core/branches{/branch}","tags_url":"https://api.github.com/repos/murphm8/colcon-core/tags","blobs_url":"https://api.github.com/repos/murphm8/colcon-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/murphm8/colcon-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/murphm8/colcon-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/murphm8/colcon-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/murphm8/colcon-core/statuses/{sha}","languages_url":"https://api.github.com/repos/murphm8/colcon-core/languages","stargazers_url":"https://api.github.com/repos/murphm8/colcon-core/stargazers","contributors_url":"https://api.github.com/repos/murphm8/colcon-core/contributors","subscribers_url":"https://api.github.com/repos/murphm8/colcon-core/subscribers","subscription_url":"https://api.github.com/repos/murphm8/colcon-core/subscription","commits_url":"https://api.github.com/repos/murphm8/colcon-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/murphm8/colcon-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/murphm8/colcon-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/murphm8/colcon-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/murphm8/colcon-core/contents/{+path}","compare_url":"https://api.github.com/repos/murphm8/colcon-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/murphm8/colcon-core/merges","archive_url":"https://api.github.com/repos/murphm8/colcon-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/murphm8/colcon-core/downloads","issues_url":"https://api.github.com/repos/murphm8/colcon-core/issues{/number}","pulls_url":"https://api.github.com/repos/murphm8/colcon-core/pulls{/number}","milestones_url":"https://api.github.com/repos/murphm8/colcon-core/milestones{/number}","notifications_url":"https://api.github.com/repos/murphm8/colcon-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/murphm8/colcon-core/labels{/name}","releases_url":"https://api.github.com/repos/murphm8/colcon-core/releases{/id}","deployments_url":"https://api.github.com/repos/murphm8/colcon-core/deployments","created_at":"2018-08-31T18:41:50Z","updated_at":"2018-08-31T18:41:52Z","pushed_at":"2018-10-12T19:51:48Z","git_url":"git://github.com/murphm8/colcon-core.git","ssh_url":"git@github.com:murphm8/colcon-core.git","clone_url":"https://github.com/murphm8/colcon-core.git","svn_url":"https://github.com/murphm8/colcon-core","homepage":"http://colcon.readthedocs.io","size":286,"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":"colcon:master","ref":"master","sha":"97bca644723292c163609c43ec6c520cd01f0968","user":{"login":"colcon","id":21050875,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDUwODc1","avatar_url":"https://avatars3.githubusercontent.com/u/21050875?v=4","gravatar_id":"","url":"https://api.github.com/users/colcon","html_url":"https://github.com/colcon","followers_url":"https://api.github.com/users/colcon/followers","following_url":"https://api.github.com/users/colcon/following{/other_user}","gists_url":"https://api.github.com/users/colcon/gists{/gist_id}","starred_url":"https://api.github.com/users/colcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colcon/subscriptions","organizations_url":"https://api.github.com/users/colcon/orgs","repos_url":"https://api.github.com/users/colcon/repos","events_url":"https://api.github.com/users/colcon/events{/privacy}","received_events_url":"https://api.github.com/users/colcon/received_events","type":"Organization","site_admin":false},"repo":{"id":87665768,"node_id":"MDEwOlJlcG9zaXRvcnk4NzY2NTc2OA==","name":"colcon-core","full_name":"colcon/colcon-core","private":false,"owner":{"login":"colcon","id":21050875,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDUwODc1","avatar_url":"https://avatars3.githubusercontent.com/u/21050875?v=4","gravatar_id":"","url":"https://api.github.com/users/colcon","html_url":"https://github.com/colcon","followers_url":"https://api.github.com/users/colcon/followers","following_url":"https://api.github.com/users/colcon/following{/other_user}","gists_url":"https://api.github.com/users/colcon/gists{/gist_id}","starred_url":"https://api.github.com/users/colcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colcon/subscriptions","organizations_url":"https://api.github.com/users/colcon/orgs","repos_url":"https://api.github.com/users/colcon/repos","events_url":"https://api.github.com/users/colcon/events{/privacy}","received_events_url":"https://api.github.com/users/colcon/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/colcon/colcon-core","description":null,"fork":false,"url":"https://api.github.com/repos/colcon/colcon-core","forks_url":"https://api.github.com/repos/colcon/colcon-core/forks","keys_url":"https://api.github.com/repos/colcon/colcon-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/colcon/colcon-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/colcon/colcon-core/teams","hooks_url":"https://api.github.com/repos/colcon/colcon-core/hooks","issue_events_url":"https://api.github.com/repos/colcon/colcon-core/issues/events{/number}","events_url":"https://api.github.com/repos/colcon/colcon-core/events","assignees_url":"https://api.github.com/repos/colcon/colcon-core/assignees{/user}","branches_url":"https://api.github.com/repos/colcon/colcon-core/branches{/branch}","tags_url":"https://api.github.com/repos/colcon/colcon-core/tags","blobs_url":"https://api.github.com/repos/colcon/colcon-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/colcon/colcon-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/colcon/colcon-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/colcon/colcon-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/colcon/colcon-core/statuses/{sha}","languages_url":"https://api.github.com/repos/colcon/colcon-core/languages","stargazers_url":"https://api.github.com/repos/colcon/colcon-core/stargazers","contributors_url":"https://api.github.com/repos/colcon/colcon-core/contributors","subscribers_url":"https://api.github.com/repos/colcon/colcon-core/subscribers","subscription_url":"https://api.github.com/repos/colcon/colcon-core/subscription","commits_url":"https://api.github.com/repos/colcon/colcon-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/colcon/colcon-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/colcon/colcon-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/colcon/colcon-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/colcon/colcon-core/contents/{+path}","compare_url":"https://api.github.com/repos/colcon/colcon-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/colcon/colcon-core/merges","archive_url":"https://api.github.com/repos/colcon/colcon-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/colcon/colcon-core/downloads","issues_url":"https://api.github.com/repos/colcon/colcon-core/issues{/number}","pulls_url":"https://api.github.com/repos/colcon/colcon-core/pulls{/number}","milestones_url":"https://api.github.com/repos/colcon/colcon-core/milestones{/number}","notifications_url":"https://api.github.com/repos/colcon/colcon-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/colcon/colcon-core/labels{/name}","releases_url":"https://api.github.com/repos/colcon/colcon-core/releases{/id}","deployments_url":"https://api.github.com/repos/colcon/colcon-core/deployments","created_at":"2017-04-08T21:38:01Z","updated_at":"2018-10-11T20:07:21Z","pushed_at":"2018-10-11T20:07:19Z","git_url":"git://github.com/colcon/colcon-core.git","ssh_url":"git@github.com:colcon/colcon-core.git","clone_url":"https://github.com/colcon/colcon-core.git","svn_url":"https://github.com/colcon/colcon-core","homepage":"http://colcon.readthedocs.io","size":303,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":12,"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":3,"open_issues":12,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/colcon/colcon-core/pulls/120"},"html":{"href":"https://github.com/colcon/colcon-core/pull/120"},"issue":{"href":"https://api.github.com/repos/colcon/colcon-core/issues/120"},"comments":{"href":"https://api.github.com/repos/colcon/colcon-core/issues/120/comments"},"review_comments":{"href":"https://api.github.com/repos/colcon/colcon-core/pulls/120/comments"},"review_comment":{"href":"https://api.github.com/repos/colcon/colcon-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/colcon/colcon-core/pulls/120/commits"},"statuses":{"href":"https://api.github.com/repos/colcon/colcon-core/statuses/f78abe7907703e8a20887172c1e538c5ee924e01"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":9,"deletions":11,"changed_files":1}}
{"actor":{"display_login":"murphm8"}}