{"action":"closed","issue":{"url":"https://api.github.com/repos/python/asyncio/issues/458","repository_url":"https://api.github.com/repos/python/asyncio","labels_url":"https://api.github.com/repos/python/asyncio/issues/458/labels{/name}","comments_url":"https://api.github.com/repos/python/asyncio/issues/458/comments","events_url":"https://api.github.com/repos/python/asyncio/issues/458/events","html_url":"https://github.com/python/asyncio/issues/458","id":188319914,"number":458,"title":"run_in_executor incorrectly identifies xmlrpclib methods as coroutines","user":{"login":"jimfunk","id":1350280,"avatar_url":"https://avatars.githubusercontent.com/u/1350280?v=3","gravatar_id":"","url":"https://api.github.com/users/jimfunk","html_url":"https://github.com/jimfunk","followers_url":"https://api.github.com/users/jimfunk/followers","following_url":"https://api.github.com/users/jimfunk/following{/other_user}","gists_url":"https://api.github.com/users/jimfunk/gists{/gist_id}","starred_url":"https://api.github.com/users/jimfunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimfunk/subscriptions","organizations_url":"https://api.github.com/users/jimfunk/orgs","repos_url":"https://api.github.com/users/jimfunk/repos","events_url":"https://api.github.com/users/jimfunk/events{/privacy}","received_events_url":"https://api.github.com/users/jimfunk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-09T18:36:48Z","updated_at":"2016-11-15T20:28:35Z","closed_at":"2016-11-15T20:28:35Z","body":"If a method from an xmlrpclib ServerProxy instance is passed to loop.run_in_executor() in Python 3.5.1, it incorrectly identifies it as a coroutine.\r\n\r\n```\r\nimport asyncio\r\nfrom xmlrpc.client import ServerProxy\r\n\r\n\r\nasync def nonblocking(loop, proxy):\r\n    return await loop.run_in_executor(None, proxy.system.listMethods)\r\n\r\n\r\nloop = asyncio.get_event_loop()\r\nproxy = ServerProxy('http://127.0.0.1/RPC2/')\r\nloop.run_until_complete(nonblocking(loop, proxy))\r\n```"}}
{"actor":{"display_login":"1st1"}}