{"action":"created","issue":{"url":"https://api.github.com/repos/python-pillow/Pillow/issues/3347","repository_url":"https://api.github.com/repos/python-pillow/Pillow","labels_url":"https://api.github.com/repos/python-pillow/Pillow/issues/3347/labels{/name}","comments_url":"https://api.github.com/repos/python-pillow/Pillow/issues/3347/comments","events_url":"https://api.github.com/repos/python-pillow/Pillow/issues/3347/events","html_url":"https://github.com/python-pillow/Pillow/pull/3347","id":358941170,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NTUyMzA1","number":3347,"title":"From KeyError to ValueError when saving image","user":{"login":"mawanda-jun","id":37183651,"node_id":"MDQ6VXNlcjM3MTgzNjUx","avatar_url":"https://avatars3.githubusercontent.com/u/37183651?v=4","gravatar_id":"","url":"https://api.github.com/users/mawanda-jun","html_url":"https://github.com/mawanda-jun","followers_url":"https://api.github.com/users/mawanda-jun/followers","following_url":"https://api.github.com/users/mawanda-jun/following{/other_user}","gists_url":"https://api.github.com/users/mawanda-jun/gists{/gist_id}","starred_url":"https://api.github.com/users/mawanda-jun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mawanda-jun/subscriptions","organizations_url":"https://api.github.com/users/mawanda-jun/orgs","repos_url":"https://api.github.com/users/mawanda-jun/repos","events_url":"https://api.github.com/users/mawanda-jun/events{/privacy}","received_events_url":"https://api.github.com/users/mawanda-jun/received_events","type":"User","site_admin":false},"labels":[{"id":86636749,"node_id":"MDU6TGFiZWw4NjYzNjc0OQ==","url":"https://api.github.com/repos/python-pillow/Pillow/labels/Documentation","name":"Documentation","color":"f7c6c7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-11T08:31:17Z","updated_at":"2018-09-11T09:34:51Z","closed_at":"2018-09-11T09:26:40Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/python-pillow/Pillow/pulls/3347","html_url":"https://github.com/python-pillow/Pillow/pull/3347","diff_url":"https://github.com/python-pillow/Pillow/pull/3347.diff","patch_url":"https://github.com/python-pillow/Pillow/pull/3347.patch"},"body":"When saving an image, if the extension is not determined it raises a ValueError (while internally it manages a KeyError) so I propose this change\r\n\r\nChanges proposed in this pull request:\r\n\r\n * Image.save raises a ValueError and not a KeyError"},"comment":{"url":"https://api.github.com/repos/python-pillow/Pillow/issues/comments/420210873","html_url":"https://github.com/python-pillow/Pillow/pull/3347#issuecomment-420210873","issue_url":"https://api.github.com/repos/python-pillow/Pillow/issues/3347","id":420210873,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDIxMDg3Mw==","user":{"login":"radarhere","id":3112309,"node_id":"MDQ6VXNlcjMxMTIzMDk=","avatar_url":"https://avatars2.githubusercontent.com/u/3112309?v=4","gravatar_id":"","url":"https://api.github.com/users/radarhere","html_url":"https://github.com/radarhere","followers_url":"https://api.github.com/users/radarhere/followers","following_url":"https://api.github.com/users/radarhere/following{/other_user}","gists_url":"https://api.github.com/users/radarhere/gists{/gist_id}","starred_url":"https://api.github.com/users/radarhere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radarhere/subscriptions","organizations_url":"https://api.github.com/users/radarhere/orgs","repos_url":"https://api.github.com/users/radarhere/repos","events_url":"https://api.github.com/users/radarhere/events{/privacy}","received_events_url":"https://api.github.com/users/radarhere/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T09:34:51Z","updated_at":"2018-09-11T09:34:51Z","author_association":"MEMBER","body":"I have realised that this PR was for the 5.2.x branch. Note that new PRs are to be made for the master branch."}}
{"actor":{"display_login":"radarhere"}}