{"action":"closed","issue":{"url":"https://api.github.com/repos/googleapis/gax-python/issues/96","repository_url":"https://api.github.com/repos/googleapis/gax-python","labels_url":"https://api.github.com/repos/googleapis/gax-python/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/googleapis/gax-python/issues/96/comments","events_url":"https://api.github.com/repos/googleapis/gax-python/issues/96/events","html_url":"https://github.com/googleapis/gax-python/issues/96","id":151449420,"number":96,"title":"'_at_exit' hook hangs, prevents clean shutdown","user":{"login":"tseaver","id":242750,"avatar_url":"https://avatars.githubusercontent.com/u/242750?v=3","gravatar_id":"","url":"https://api.github.com/users/tseaver","html_url":"https://github.com/tseaver","followers_url":"https://api.github.com/users/tseaver/followers","following_url":"https://api.github.com/users/tseaver/following{/other_user}","gists_url":"https://api.github.com/users/tseaver/gists{/gist_id}","starred_url":"https://api.github.com/users/tseaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tseaver/subscriptions","organizations_url":"https://api.github.com/users/tseaver/orgs","repos_url":"https://api.github.com/users/tseaver/repos","events_url":"https://api.github.com/users/tseaver/events{/privacy}","received_events_url":"https://api.github.com/users/tseaver/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/googleapis/gax-python/labels/grpc","name":"grpc","color":"c5def5"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-04-27T17:54:24Z","updated_at":"2016-06-28T19:53:15Z","closed_at":"2016-06-28T19:53:15Z","body":"After using an API instance at the Python REPL prompt, I try to exit Python using `Ctrl-D`:  the process hangs indefinitely, until I interrupt with `Ctrl-C`, at which point I get the following traceback:\r\n\r\n```python\r\n^CError in atexit._run_exitfuncs:\r\nTraceback (most recent call last):\r\n  File \"/opt/Python-2.7.11/lib/python2.7/atexit.py\", line 24, in _run_exitfuncs\r\n    func(*targs, **kargs)\r\n  File \"/home/tseaver/projects/agendaless/Google/src/gcloud-python/.tox/py27/lib/python2.7/site-packages/concurrent/futures/thread.py\", line 39, in _python_exit\r\n    t.join(sys.maxint)\r\n  File \"/opt/Python-2.7.11/lib/python2.7/threading.py\", line 951, in join\r\n    self.__block.wait(delay)\r\n  File \"/opt/Python-2.7.11/lib/python2.7/threading.py\", line 359, in wait\r\n    _sleep(delay)\r\nKeyboardInterrupt\r\nError in sys.exitfunc:\r\nTraceback (most recent call last):\r\n  File \"/opt/Python-2.7.11/lib/python2.7/atexit.py\", line 24, in _run_exitfuncs\r\n    func(*targs, **kargs)\r\n  File \"/home/tseaver/projects/agendaless/Google/src/gcloud-python/.tox/py27/lib/python2.7/site-packages/concurrent/futures/thread.py\", line 39, in _python_exit\r\n    t.join(sys.maxint)\r\n  File \"/opt/Python-2.7.11/lib/python2.7/threading.py\", line 951, in join\r\n    self.__block.wait(delay)\r\n  File \"/opt/Python-2.7.11/lib/python2.7/threading.py\", line 359, in wait\r\n    _sleep(delay)\r\nKeyboardInterrupt\r\n```\r\n\r\nI then have to `Ctrl-C` again to get back to the shell prompt."}}
{"actor":{"display_login":"geigerj"}}