{"action":"created","issue":{"url":"https://api.github.com/repos/Toblerity/Fiona/issues/620","repository_url":"https://api.github.com/repos/Toblerity/Fiona","labels_url":"https://api.github.com/repos/Toblerity/Fiona/issues/620/labels{/name}","comments_url":"https://api.github.com/repos/Toblerity/Fiona/issues/620/comments","events_url":"https://api.github.com/repos/Toblerity/Fiona/issues/620/events","html_url":"https://github.com/Toblerity/Fiona/pull/620","id":353425442,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwNDgwNzU1","number":620,"title":"Fix log statement causing UnicodeDecodeError in certain circumstances","user":{"login":"Ariki","id":519412,"node_id":"MDQ6VXNlcjUxOTQxMg==","avatar_url":"https://avatars1.githubusercontent.com/u/519412?v=4","gravatar_id":"","url":"https://api.github.com/users/Ariki","html_url":"https://github.com/Ariki","followers_url":"https://api.github.com/users/Ariki/followers","following_url":"https://api.github.com/users/Ariki/following{/other_user}","gists_url":"https://api.github.com/users/Ariki/gists{/gist_id}","starred_url":"https://api.github.com/users/Ariki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ariki/subscriptions","organizations_url":"https://api.github.com/users/Ariki/orgs","repos_url":"https://api.github.com/users/Ariki/repos","events_url":"https://api.github.com/users/Ariki/events{/privacy}","received_events_url":"https://api.github.com/users/Ariki/received_events","type":"User","site_admin":false},"labels":[{"id":81537537,"node_id":"MDU6TGFiZWw4MTUzNzUzNw==","url":"https://api.github.com/repos/Toblerity/Fiona/labels/bug","name":"bug","color":"e11d21","default":true}],"state":"open","locked":false,"assignee":{"login":"sgillies","id":33697,"node_id":"MDQ6VXNlcjMzNjk3","avatar_url":"https://avatars2.githubusercontent.com/u/33697?v=4","gravatar_id":"","url":"https://api.github.com/users/sgillies","html_url":"https://github.com/sgillies","followers_url":"https://api.github.com/users/sgillies/followers","following_url":"https://api.github.com/users/sgillies/following{/other_user}","gists_url":"https://api.github.com/users/sgillies/gists{/gist_id}","starred_url":"https://api.github.com/users/sgillies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgillies/subscriptions","organizations_url":"https://api.github.com/users/sgillies/orgs","repos_url":"https://api.github.com/users/sgillies/repos","events_url":"https://api.github.com/users/sgillies/events{/privacy}","received_events_url":"https://api.github.com/users/sgillies/received_events","type":"User","site_admin":false},"assignees":[{"login":"sgillies","id":33697,"node_id":"MDQ6VXNlcjMzNjk3","avatar_url":"https://avatars2.githubusercontent.com/u/33697?v=4","gravatar_id":"","url":"https://api.github.com/users/sgillies","html_url":"https://github.com/sgillies","followers_url":"https://api.github.com/users/sgillies/followers","following_url":"https://api.github.com/users/sgillies/following{/other_user}","gists_url":"https://api.github.com/users/sgillies/gists{/gist_id}","starred_url":"https://api.github.com/users/sgillies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgillies/subscriptions","organizations_url":"https://api.github.com/users/sgillies/orgs","repos_url":"https://api.github.com/users/sgillies/repos","events_url":"https://api.github.com/users/sgillies/events{/privacy}","received_events_url":"https://api.github.com/users/sgillies/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Toblerity/Fiona/milestones/50","html_url":"https://github.com/Toblerity/Fiona/milestone/50","labels_url":"https://api.github.com/repos/Toblerity/Fiona/milestones/50/labels","id":3201669,"node_id":"MDk6TWlsZXN0b25lMzIwMTY2OQ==","number":50,"title":"1.8a3","description":null,"creator":{"login":"sgillies","id":33697,"node_id":"MDQ6VXNlcjMzNjk3","avatar_url":"https://avatars2.githubusercontent.com/u/33697?v=4","gravatar_id":"","url":"https://api.github.com/users/sgillies","html_url":"https://github.com/sgillies","followers_url":"https://api.github.com/users/sgillies/followers","following_url":"https://api.github.com/users/sgillies/following{/other_user}","gists_url":"https://api.github.com/users/sgillies/gists{/gist_id}","starred_url":"https://api.github.com/users/sgillies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgillies/subscriptions","organizations_url":"https://api.github.com/users/sgillies/orgs","repos_url":"https://api.github.com/users/sgillies/repos","events_url":"https://api.github.com/users/sgillies/events{/privacy}","received_events_url":"https://api.github.com/users/sgillies/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2018-03-20T03:24:52Z","updated_at":"2018-09-10T04:30:08Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-08-23T15:05:49Z","updated_at":"2018-09-10T04:30:23Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/Toblerity/Fiona/pulls/620","html_url":"https://github.com/Toblerity/Fiona/pull/620","diff_url":"https://github.com/Toblerity/Fiona/pull/620.diff","patch_url":"https://github.com/Toblerity/Fiona/pull/620.patch"},"body":"In Python 2, when writing bytes data to a binary field, `UnicodeDecodeError` is possible if the field name is provided as a Unicode string, due to string formatting in `log.debug()`.\r\n\r\nThe fix doesn't solve problems with non-ASCII field names in Python 2, just allows to pass field name consisting of ASCII symbols as a Unicode string (which is convenient in case when the calling code uses `from __future__ import unicode_literals`).\r\n\r\nThe changes in test code are to make sure that all possible byte values are written correctly."},"comment":{"url":"https://api.github.com/repos/Toblerity/Fiona/issues/comments/419784195","html_url":"https://github.com/Toblerity/Fiona/pull/620#issuecomment-419784195","issue_url":"https://api.github.com/repos/Toblerity/Fiona/issues/620","id":419784195,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTc4NDE5NQ==","user":{"login":"sgillies","id":33697,"node_id":"MDQ6VXNlcjMzNjk3","avatar_url":"https://avatars2.githubusercontent.com/u/33697?v=4","gravatar_id":"","url":"https://api.github.com/users/sgillies","html_url":"https://github.com/sgillies","followers_url":"https://api.github.com/users/sgillies/followers","following_url":"https://api.github.com/users/sgillies/following{/other_user}","gists_url":"https://api.github.com/users/sgillies/gists{/gist_id}","starred_url":"https://api.github.com/users/sgillies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgillies/subscriptions","organizations_url":"https://api.github.com/users/sgillies/orgs","repos_url":"https://api.github.com/users/sgillies/repos","events_url":"https://api.github.com/users/sgillies/events{/privacy}","received_events_url":"https://api.github.com/users/sgillies/received_events","type":"User","site_admin":false},"created_at":"2018-09-10T04:30:23Z","updated_at":"2018-09-10T04:30:23Z","author_association":"MEMBER","body":"Thanks @Ariki !"}}
{"actor":{"display_login":"sgillies"}}