{"action":"created","issue":{"url":"https://api.github.com/repos/petertodd/python-bitcoinlib/issues/71","labels_url":"https://api.github.com/repos/petertodd/python-bitcoinlib/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/petertodd/python-bitcoinlib/issues/71/comments","events_url":"https://api.github.com/repos/petertodd/python-bitcoinlib/issues/71/events","html_url":"https://github.com/petertodd/python-bitcoinlib/pull/71","id":85564811,"number":71,"title":"Minor string bug, that doesn't work in python2","user":{"login":"ritzdorf","id":10403309,"avatar_url":"https://avatars.githubusercontent.com/u/10403309?v=3","gravatar_id":"","url":"https://api.github.com/users/ritzdorf","html_url":"https://github.com/ritzdorf","followers_url":"https://api.github.com/users/ritzdorf/followers","following_url":"https://api.github.com/users/ritzdorf/following{/other_user}","gists_url":"https://api.github.com/users/ritzdorf/gists{/gist_id}","starred_url":"https://api.github.com/users/ritzdorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritzdorf/subscriptions","organizations_url":"https://api.github.com/users/ritzdorf/orgs","repos_url":"https://api.github.com/users/ritzdorf/repos","events_url":"https://api.github.com/users/ritzdorf/events{/privacy}","received_events_url":"https://api.github.com/users/ritzdorf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-05T15:50:43Z","updated_at":"2015-06-07T23:47:39Z","closed_at":"2015-06-07T23:47:00Z","pull_request":{"url":"https://api.github.com/repos/petertodd/python-bitcoinlib/pulls/71","html_url":"https://github.com/petertodd/python-bitcoinlib/pull/71","diff_url":"https://github.com/petertodd/python-bitcoinlib/pull/71.diff","patch_url":"https://github.com/petertodd/python-bitcoinlib/pull/71.patch"},"body":"As requested in \r\nhttps://github.com/petertodd/python-bitcoinlib/pull/66\r\n\r\nin a separate pull request."},"comment":{"url":"https://api.github.com/repos/petertodd/python-bitcoinlib/issues/comments/109814559","html_url":"https://github.com/petertodd/python-bitcoinlib/pull/71#issuecomment-109814559","issue_url":"https://api.github.com/repos/petertodd/python-bitcoinlib/issues/71","id":109814559,"user":{"login":"petertodd","id":7042,"avatar_url":"https://avatars.githubusercontent.com/u/7042?v=3","gravatar_id":"","url":"https://api.github.com/users/petertodd","html_url":"https://github.com/petertodd","followers_url":"https://api.github.com/users/petertodd/followers","following_url":"https://api.github.com/users/petertodd/following{/other_user}","gists_url":"https://api.github.com/users/petertodd/gists{/gist_id}","starred_url":"https://api.github.com/users/petertodd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petertodd/subscriptions","organizations_url":"https://api.github.com/users/petertodd/orgs","repos_url":"https://api.github.com/users/petertodd/repos","events_url":"https://api.github.com/users/petertodd/events{/privacy}","received_events_url":"https://api.github.com/users/petertodd/received_events","type":"User","site_admin":false},"created_at":"2015-06-07T23:47:39Z","updated_at":"2015-06-07T23:47:39Z","body":"Oh, sorry, I should have noticed this earlier but actually this code doesn't make much sense; the API really should throw an exception in this case rather than returning None.\r\n\r\nAnyway, I merged this, but if you could link me to an example of some code that runs into this so I can think about what would be the right API that'd be much appreciated! Equally, if you want to try fixing it yourself go for it."}}