{"action":"created","issue":{"url":"https://api.github.com/repos/dask/distributed/issues/548","repository_url":"https://api.github.com/repos/dask/distributed","labels_url":"https://api.github.com/repos/dask/distributed/issues/548/labels{/name}","comments_url":"https://api.github.com/repos/dask/distributed/issues/548/comments","events_url":"https://api.github.com/repos/dask/distributed/issues/548/events","html_url":"https://github.com/dask/distributed/issues/548","id":178674289,"number":548,"title":"possible to call concurrent.futures.wait on a Future returned by distributed.Executor.submit?","user":{"login":"timodonnell","id":467896,"avatar_url":"https://avatars.githubusercontent.com/u/467896?v=3","gravatar_id":"","url":"https://api.github.com/users/timodonnell","html_url":"https://github.com/timodonnell","followers_url":"https://api.github.com/users/timodonnell/followers","following_url":"https://api.github.com/users/timodonnell/following{/other_user}","gists_url":"https://api.github.com/users/timodonnell/gists{/gist_id}","starred_url":"https://api.github.com/users/timodonnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timodonnell/subscriptions","organizations_url":"https://api.github.com/users/timodonnell/orgs","repos_url":"https://api.github.com/users/timodonnell/repos","events_url":"https://api.github.com/users/timodonnell/events{/privacy}","received_events_url":"https://api.github.com/users/timodonnell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-22T17:40:47Z","updated_at":"2016-09-22T22:53:50Z","closed_at":"2016-09-22T22:53:50Z","body":"I have somes futures from calling `distributed.Executor.submit`. Is it possible to call Python's `concurrent.futures.wait` function on those?\r\n\r\nThis is currently what I get when doing this using latest master `distributed`:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/Users/tim/miniconda3/envs/py3k/bin/mhcflurry-class1-allele-specific-cv-and-train\", line 9, in <module>\r\n    load_entry_point('mhcflurry', 'console_scripts', 'mhcflurry-class1-allele-specific-cv-and-train')()\r\n  File \"/Users/tim/sinai/git/mhcflurry/mhcflurry/class1_allele_specific/cv_and_train_command.py\", line 175, in run\r\n    go(args)\r\n  File \"/Users/tim/sinai/git/mhcflurry/mhcflurry/class1_allele_specific/cv_and_train_command.py\", line 232, in go\r\n    alleles=args.alleles)\r\n  File \"/Users/tim/sinai/git/mhcflurry/mhcflurry/class1_allele_specific/cross_validation.py\", line 194, in cross_validation_folds\r\n    timeout=10)\r\n  File \"/Users/tim/miniconda3/envs/py3k/lib/python3.5/concurrent/futures/_base.py\", line 257, in wait\r\n    with _AcquireFutures(fs):\r\n  File \"/Users/tim/miniconda3/envs/py3k/lib/python3.5/concurrent/futures/_base.py\", line 146, in __enter__\r\n    future._condition.acquire()\r\nAttributeError: 'Future' object has no attribute '_condition'\r\n```"},"comment":{"url":"https://api.github.com/repos/dask/distributed/issues/comments/249051472","html_url":"https://github.com/dask/distributed/issues/548#issuecomment-249051472","issue_url":"https://api.github.com/repos/dask/distributed/issues/548","id":249051472,"user":{"login":"timodonnell","id":467896,"avatar_url":"https://avatars.githubusercontent.com/u/467896?v=3","gravatar_id":"","url":"https://api.github.com/users/timodonnell","html_url":"https://github.com/timodonnell","followers_url":"https://api.github.com/users/timodonnell/followers","following_url":"https://api.github.com/users/timodonnell/following{/other_user}","gists_url":"https://api.github.com/users/timodonnell/gists{/gist_id}","starred_url":"https://api.github.com/users/timodonnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timodonnell/subscriptions","organizations_url":"https://api.github.com/users/timodonnell/orgs","repos_url":"https://api.github.com/users/timodonnell/repos","events_url":"https://api.github.com/users/timodonnell/events{/privacy}","received_events_url":"https://api.github.com/users/timodonnell/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T22:53:50Z","updated_at":"2016-09-22T22:53:50Z","body":"Got it, thanks"}}
{"actor":{"display_login":"timodonnell"}}