{"action":"created","issue":{"url":"https://api.github.com/repos/micropython/micropython/issues/1072","labels_url":"https://api.github.com/repos/micropython/micropython/issues/1072/labels{/name}","comments_url":"https://api.github.com/repos/micropython/micropython/issues/1072/comments","events_url":"https://api.github.com/repos/micropython/micropython/issues/1072/events","html_url":"https://github.com/micropython/micropython/pull/1072","id":54554486,"number":1072,"title":"py: Fix segfault for operations on closed StringIO","user":{"login":"stinos","id":1902997,"avatar_url":"https://avatars.githubusercontent.com/u/1902997?v=3","gravatar_id":"","url":"https://api.github.com/users/stinos","html_url":"https://github.com/stinos","followers_url":"https://api.github.com/users/stinos/followers","following_url":"https://api.github.com/users/stinos/following{/other_user}","gists_url":"https://api.github.com/users/stinos/gists{/gist_id}","starred_url":"https://api.github.com/users/stinos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stinos/subscriptions","organizations_url":"https://api.github.com/users/stinos/orgs","repos_url":"https://api.github.com/users/stinos/repos","events_url":"https://api.github.com/users/stinos/events{/privacy}","received_events_url":"https://api.github.com/users/stinos/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-16T09:16:46Z","updated_at":"2015-01-21T00:01:19Z","closed_at":"2015-01-20T23:53:20Z","pull_request":{"url":"https://api.github.com/repos/micropython/micropython/pulls/1072","html_url":"https://github.com/micropython/micropython/pull/1072","diff_url":"https://github.com/micropython/micropython/pull/1072.diff","patch_url":"https://github.com/micropython/micropython/pull/1072.patch"},"body":"This is a simple fix for #1067.\r\n\r\nOriginally I wanted to put the ```nlr_raise(....\"I/O operation on closed file\"));``` in a function and reuse it in unix/file.c since it uses the exact same error message, but I couldn't figure out the most suitable header/source files for such function.. Suggestions?\r\n"},"comment":{"url":"https://api.github.com/repos/micropython/micropython/issues/comments/70760050","html_url":"https://github.com/micropython/micropython/pull/1072#issuecomment-70760050","issue_url":"https://api.github.com/repos/micropython/micropython/issues/1072","id":70760050,"user":{"login":"pfalcon","id":500451,"avatar_url":"https://avatars.githubusercontent.com/u/500451?v=3","gravatar_id":"","url":"https://api.github.com/users/pfalcon","html_url":"https://github.com/pfalcon","followers_url":"https://api.github.com/users/pfalcon/followers","following_url":"https://api.github.com/users/pfalcon/following{/other_user}","gists_url":"https://api.github.com/users/pfalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/pfalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfalcon/subscriptions","organizations_url":"https://api.github.com/users/pfalcon/orgs","repos_url":"https://api.github.com/users/pfalcon/repos","events_url":"https://api.github.com/users/pfalcon/events{/privacy}","received_events_url":"https://api.github.com/users/pfalcon/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T00:01:19Z","updated_at":"2015-01-21T00:01:19Z","body":"What about my concerns above?\r\n"}}