{"action":"created","issue":{"url":"https://api.github.com/repos/ultrabug/py3status/issues/522","repository_url":"https://api.github.com/repos/ultrabug/py3status","labels_url":"https://api.github.com/repos/ultrabug/py3status/issues/522/labels{/name}","comments_url":"https://api.github.com/repos/ultrabug/py3status/issues/522/comments","events_url":"https://api.github.com/repos/ultrabug/py3status/issues/522/events","html_url":"https://github.com/ultrabug/py3status/pull/522","id":183797298,"number":522,"title":"SpaceAPI: Make Python 2 compatible","user":{"login":"pferate","id":468011,"avatar_url":"https://avatars.githubusercontent.com/u/468011?v=3","gravatar_id":"","url":"https://api.github.com/users/pferate","html_url":"https://github.com/pferate","followers_url":"https://api.github.com/users/pferate/followers","following_url":"https://api.github.com/users/pferate/following{/other_user}","gists_url":"https://api.github.com/users/pferate/gists{/gist_id}","starred_url":"https://api.github.com/users/pferate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pferate/subscriptions","organizations_url":"https://api.github.com/users/pferate/orgs","repos_url":"https://api.github.com/users/pferate/repos","events_url":"https://api.github.com/users/pferate/events{/privacy}","received_events_url":"https://api.github.com/users/pferate/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ultrabug/py3status/labels/hacktoberfest","name":"hacktoberfest","color":"bfdadc"},{"url":"https://api.github.com/repos/ultrabug/py3status/labels/module%20enhancement","name":"module enhancement","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"ultrabug","id":474389,"avatar_url":"https://avatars.githubusercontent.com/u/474389?v=3","gravatar_id":"","url":"https://api.github.com/users/ultrabug","html_url":"https://github.com/ultrabug","followers_url":"https://api.github.com/users/ultrabug/followers","following_url":"https://api.github.com/users/ultrabug/following{/other_user}","gists_url":"https://api.github.com/users/ultrabug/gists{/gist_id}","starred_url":"https://api.github.com/users/ultrabug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ultrabug/subscriptions","organizations_url":"https://api.github.com/users/ultrabug/orgs","repos_url":"https://api.github.com/users/ultrabug/repos","events_url":"https://api.github.com/users/ultrabug/events{/privacy}","received_events_url":"https://api.github.com/users/ultrabug/received_events","type":"User","site_admin":false},"assignees":[{"login":"ultrabug","id":474389,"avatar_url":"https://avatars.githubusercontent.com/u/474389?v=3","gravatar_id":"","url":"https://api.github.com/users/ultrabug","html_url":"https://github.com/ultrabug","followers_url":"https://api.github.com/users/ultrabug/followers","following_url":"https://api.github.com/users/ultrabug/following{/other_user}","gists_url":"https://api.github.com/users/ultrabug/gists{/gist_id}","starred_url":"https://api.github.com/users/ultrabug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ultrabug/subscriptions","organizations_url":"https://api.github.com/users/ultrabug/orgs","repos_url":"https://api.github.com/users/ultrabug/repos","events_url":"https://api.github.com/users/ultrabug/events{/privacy}","received_events_url":"https://api.github.com/users/ultrabug/received_events","type":"User","site_admin":false}],"milestone":null,"comments":15,"created_at":"2016-10-18T20:41:47Z","updated_at":"2016-10-27T16:31:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ultrabug/py3status/pulls/522","html_url":"https://github.com/ultrabug/py3status/pull/522","diff_url":"https://github.com/ultrabug/py3status/pull/522.diff","patch_url":"https://github.com/ultrabug/py3status/pull/522.patch"},"body":"Resolves #459 "},"comment":{"url":"https://api.github.com/repos/ultrabug/py3status/issues/comments/256698010","html_url":"https://github.com/ultrabug/py3status/pull/522#issuecomment-256698010","issue_url":"https://api.github.com/repos/ultrabug/py3status/issues/522","id":256698010,"user":{"login":"pferate","id":468011,"avatar_url":"https://avatars.githubusercontent.com/u/468011?v=3","gravatar_id":"","url":"https://api.github.com/users/pferate","html_url":"https://github.com/pferate","followers_url":"https://api.github.com/users/pferate/followers","following_url":"https://api.github.com/users/pferate/following{/other_user}","gists_url":"https://api.github.com/users/pferate/gists{/gist_id}","starred_url":"https://api.github.com/users/pferate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pferate/subscriptions","organizations_url":"https://api.github.com/users/pferate/orgs","repos_url":"https://api.github.com/users/pferate/repos","events_url":"https://api.github.com/users/pferate/events{/privacy}","received_events_url":"https://api.github.com/users/pferate/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T16:31:42Z","updated_at":"2016-10-27T16:31:42Z","body":"I like having the idea of having a way for the modules to inspect the Response object, if they feel inclined to, but it should be optional.  I also think that while returning `None` would be sufficient, that would mean 2 different ways that modules would check for errors in the same function call: checking the return value and catching an exception.  \r\n\r\nI think that there should be a consistent way of reporting errors back to users.  This may be a bigger design decision.\r\n\r\nMaybe we can use custom Module or Class exceptions, and have modules catch the `py3status` base exception in the most general case, at least when calling `py3status` functions.\r\n\r\nAlso, for `requests`, `six`, and other such libraries: if we don't add them as a requirement, what are your thoughts on adding them as \"vendors\" instead?  `requests` currently has `urllib3` as a vendor, which in turn has `six` as a vendor."}}
{"actor":{"display_login":"pferate"}}