{"action":"created","issue":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/716","repository_url":"https://api.github.com/repos/mesonbuild/meson","labels_url":"https://api.github.com/repos/mesonbuild/meson/issues/716/labels{/name}","comments_url":"https://api.github.com/repos/mesonbuild/meson/issues/716/comments","events_url":"https://api.github.com/repos/mesonbuild/meson/issues/716/events","html_url":"https://github.com/mesonbuild/meson/pull/716","id":173097738,"number":716,"title":"Use context managers more often","user":{"login":"QuLogic","id":302469,"avatar_url":"https://avatars.githubusercontent.com/u/302469?v=3","gravatar_id":"","url":"https://api.github.com/users/QuLogic","html_url":"https://github.com/QuLogic","followers_url":"https://api.github.com/users/QuLogic/followers","following_url":"https://api.github.com/users/QuLogic/following{/other_user}","gists_url":"https://api.github.com/users/QuLogic/gists{/gist_id}","starred_url":"https://api.github.com/users/QuLogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuLogic/subscriptions","organizations_url":"https://api.github.com/users/QuLogic/orgs","repos_url":"https://api.github.com/users/QuLogic/repos","events_url":"https://api.github.com/users/QuLogic/events{/privacy}","received_events_url":"https://api.github.com/users/QuLogic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-25T01:59:54Z","updated_at":"2016-08-27T00:56:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mesonbuild/meson/pulls/716","html_url":"https://github.com/mesonbuild/meson/pull/716","diff_url":"https://github.com/mesonbuild/meson/pull/716.diff","patch_url":"https://github.com/mesonbuild/meson/pull/716.patch"},"body":"I realize that meson is mostly an executable that is intended to be run for a very short while, but there are a lot of opened and dangling file handles. It's generally a problem for Windows where an open file handle can prevent some other process from accessing the same file. Plus too many open files might run into some system limit (though it's pretty unlikely on most modern systems.)\r\n\r\nI'm not sure about `generate_unity_files` because there don't seem to be any unity build tests?"},"comment":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/comments/242885325","html_url":"https://github.com/mesonbuild/meson/pull/716#issuecomment-242885325","issue_url":"https://api.github.com/repos/mesonbuild/meson/issues/716","id":242885325,"user":{"login":"QuLogic","id":302469,"avatar_url":"https://avatars.githubusercontent.com/u/302469?v=3","gravatar_id":"","url":"https://api.github.com/users/QuLogic","html_url":"https://github.com/QuLogic","followers_url":"https://api.github.com/users/QuLogic/followers","following_url":"https://api.github.com/users/QuLogic/following{/other_user}","gists_url":"https://api.github.com/users/QuLogic/gists{/gist_id}","starred_url":"https://api.github.com/users/QuLogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuLogic/subscriptions","organizations_url":"https://api.github.com/users/QuLogic/orgs","repos_url":"https://api.github.com/users/QuLogic/repos","events_url":"https://api.github.com/users/QuLogic/events{/privacy}","received_events_url":"https://api.github.com/users/QuLogic/received_events","type":"User","site_admin":false},"created_at":"2016-08-27T00:56:09Z","updated_at":"2016-08-27T00:56:09Z","body":"Rebased to get get CI refreshed."}}
{"actor":{"display_login":"QuLogic"}}