{"action":"created","issue":{"url":"https://api.github.com/repos/pywbem/pywbem/issues/251","repository_url":"https://api.github.com/repos/pywbem/pywbem","labels_url":"https://api.github.com/repos/pywbem/pywbem/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/pywbem/pywbem/issues/251/comments","events_url":"https://api.github.com/repos/pywbem/pywbem/issues/251/events","html_url":"https://github.com/pywbem/pywbem/issues/251","id":150256008,"number":251,"title":"Bare except catches KeyboardInterrupt, prevents program termination.","user":{"login":"skolsuper","id":7449642,"avatar_url":"https://avatars.githubusercontent.com/u/7449642?v=3","gravatar_id":"","url":"https://api.github.com/users/skolsuper","html_url":"https://github.com/skolsuper","followers_url":"https://api.github.com/users/skolsuper/followers","following_url":"https://api.github.com/users/skolsuper/following{/other_user}","gists_url":"https://api.github.com/users/skolsuper/gists{/gist_id}","starred_url":"https://api.github.com/users/skolsuper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skolsuper/subscriptions","organizations_url":"https://api.github.com/users/skolsuper/orgs","repos_url":"https://api.github.com/users/skolsuper/repos","events_url":"https://api.github.com/users/skolsuper/events{/privacy}","received_events_url":"https://api.github.com/users/skolsuper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pywbem/pywbem/labels/area:%20code","name":"area: code","color":"207de5"},{"url":"https://api.github.com/repos/pywbem/pywbem/labels/release:%20user%20generated","name":"release: user generated","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"andy-maier","id":8939758,"avatar_url":"https://avatars.githubusercontent.com/u/8939758?v=3","gravatar_id":"","url":"https://api.github.com/users/andy-maier","html_url":"https://github.com/andy-maier","followers_url":"https://api.github.com/users/andy-maier/followers","following_url":"https://api.github.com/users/andy-maier/following{/other_user}","gists_url":"https://api.github.com/users/andy-maier/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-maier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-maier/subscriptions","organizations_url":"https://api.github.com/users/andy-maier/orgs","repos_url":"https://api.github.com/users/andy-maier/repos","events_url":"https://api.github.com/users/andy-maier/events{/privacy}","received_events_url":"https://api.github.com/users/andy-maier/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/pywbem/pywbem/milestones/2","html_url":"https://github.com/pywbem/pywbem/milestones/0.9.0","labels_url":"https://api.github.com/repos/pywbem/pywbem/milestones/2/labels","id":1526630,"number":2,"title":"0.9.0","description":null,"creator":{"login":"andy-maier","id":8939758,"avatar_url":"https://avatars.githubusercontent.com/u/8939758?v=3","gravatar_id":"","url":"https://api.github.com/users/andy-maier","html_url":"https://github.com/andy-maier","followers_url":"https://api.github.com/users/andy-maier/followers","following_url":"https://api.github.com/users/andy-maier/following{/other_user}","gists_url":"https://api.github.com/users/andy-maier/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-maier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-maier/subscriptions","organizations_url":"https://api.github.com/users/andy-maier/orgs","repos_url":"https://api.github.com/users/andy-maier/repos","events_url":"https://api.github.com/users/andy-maier/events{/privacy}","received_events_url":"https://api.github.com/users/andy-maier/received_events","type":"User","site_admin":false},"open_issues":52,"closed_issues":91,"state":"open","created_at":"2016-01-20T17:44:04Z","updated_at":"2016-04-25T08:31:59Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-04-22T03:36:30Z","updated_at":"2016-04-25T08:38:45Z","closed_at":null,"body":"This has been a long-standing minor annoyance in my daily life, when I run code using this library I can't stop it with SIGTERM or SIGINT, I have to use SIGKILL (in supervisor and PyCharm), so today I decided to track it down and it seems [this](https://github.com/pywbem/pywbem/blob/master/pywbem/cim_http.py#L643) is the offending line.\r\n\r\nI don't know exactly what we're expecting to catch here but just specifying `Exception` allows `SystemExit` and `KeyboardInterrupt` to propagate. [source](https://docs.python.org/2/library/exceptions.html#exception-hierarchy)"},"comment":{"url":"https://api.github.com/repos/pywbem/pywbem/issues/comments/214209310","html_url":"https://github.com/pywbem/pywbem/issues/251#issuecomment-214209310","issue_url":"https://api.github.com/repos/pywbem/pywbem/issues/251","id":214209310,"user":{"login":"andy-maier","id":8939758,"avatar_url":"https://avatars.githubusercontent.com/u/8939758?v=3","gravatar_id":"","url":"https://api.github.com/users/andy-maier","html_url":"https://github.com/andy-maier","followers_url":"https://api.github.com/users/andy-maier/followers","following_url":"https://api.github.com/users/andy-maier/following{/other_user}","gists_url":"https://api.github.com/users/andy-maier/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-maier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-maier/subscriptions","organizations_url":"https://api.github.com/users/andy-maier/orgs","repos_url":"https://api.github.com/users/andy-maier/repos","events_url":"https://api.github.com/users/andy-maier/events{/privacy}","received_events_url":"https://api.github.com/users/andy-maier/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T08:38:45Z","updated_at":"2016-04-25T08:38:45Z","body":"> I'm still working off the py3 fork my predecessor made\r\n\r\nNote that starting with pywbem 0.8, we support Python 3. If you have any further changes due to Python 3, I'd be happy to integrate them."}}