{"action":"created","issue":{"url":"https://api.github.com/repos/numpy/numpy/issues/7099","labels_url":"https://api.github.com/repos/numpy/numpy/issues/7099/labels{/name}","comments_url":"https://api.github.com/repos/numpy/numpy/issues/7099/comments","events_url":"https://api.github.com/repos/numpy/numpy/issues/7099/events","html_url":"https://github.com/numpy/numpy/pull/7099","id":128286713,"number":7099,"title":"Suppressed warnings","user":{"login":"seberg","id":61977,"avatar_url":"https://avatars.githubusercontent.com/u/61977?v=3","gravatar_id":"","url":"https://api.github.com/users/seberg","html_url":"https://github.com/seberg","followers_url":"https://api.github.com/users/seberg/followers","following_url":"https://api.github.com/users/seberg/following{/other_user}","gists_url":"https://api.github.com/users/seberg/gists{/gist_id}","starred_url":"https://api.github.com/users/seberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seberg/subscriptions","organizations_url":"https://api.github.com/users/seberg/orgs","repos_url":"https://api.github.com/users/seberg/repos","events_url":"https://api.github.com/users/seberg/events{/privacy}","received_events_url":"https://api.github.com/users/seberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-23T02:28:49Z","updated_at":"2016-01-23T03:24:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/numpy/numpy/pulls/7099","html_url":"https://github.com/numpy/numpy/pull/7099","diff_url":"https://github.com/numpy/numpy/pull/7099.diff","patch_url":"https://github.com/numpy/numpy/pull/7099.patch"},"body":"OK, this is a start, a context manager to suppress warnings a little better (nothing is prefect, though maybe I am missing something). And trying to remove all those \"ignore\" stuff everywhere mostly.\r\n\r\nA few quite general warnings are still suppressed globally (where possible, sometimes needs local duplication), that may be fine. The switch to only show warnings in release mode is missing, and since some things never showed warnings for me, I sometimes removed it completely. This is not beta or rc, but I think you can get the idea."},"comment":{"url":"https://api.github.com/repos/numpy/numpy/issues/comments/174125322","html_url":"https://github.com/numpy/numpy/pull/7099#issuecomment-174125322","issue_url":"https://api.github.com/repos/numpy/numpy/issues/7099","id":174125322,"user":{"login":"seberg","id":61977,"avatar_url":"https://avatars.githubusercontent.com/u/61977?v=3","gravatar_id":"","url":"https://api.github.com/users/seberg","html_url":"https://github.com/seberg","followers_url":"https://api.github.com/users/seberg/followers","following_url":"https://api.github.com/users/seberg/following{/other_user}","gists_url":"https://api.github.com/users/seberg/gists{/gist_id}","starred_url":"https://api.github.com/users/seberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seberg/subscriptions","organizations_url":"https://api.github.com/users/seberg/orgs","repos_url":"https://api.github.com/users/seberg/repos","events_url":"https://api.github.com/users/seberg/events{/privacy}","received_events_url":"https://api.github.com/users/seberg/received_events","type":"User","site_admin":false},"created_at":"2016-01-23T03:24:18Z","updated_at":"2016-01-23T03:24:18Z","body":"Hmmm, python 3.4 and later actually should invalidate the warning registry it appears, so the dance could be unnecessary there.... Not sure what that means.\r\n\r\n@charris I mean in this version I broke it currently."}}