This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients crenwick, yselivanov
Date 2017-04-18.23:35:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1492558559.71.0.21223994078.issue30098@psf.upfronthosting.co.za>
In-reply-to
Content
> This is more to my point: I found the TypeError message not clear at all. 

> From my prospective, I was using a future object returned from an asyncio function to call another asyncio function, yet that function was telling me it could only use a future with it. 

I understand, but this is the first time I see somebody tries to use `ensure_future` on `run_coroutine_threadsafe` result, which suggests that it's not a common problem.

Specializing error messages makes code more complex and adds to maintenance overhead, so we can't afford to make changes on first request.  In cases like this we usually put the issue on hold to see if more people complain.
History
Date User Action Args
2017-04-18 23:35:59yselivanovsetrecipients: + yselivanov, crenwick
2017-04-18 23:35:59yselivanovsetmessageid: <1492558559.71.0.21223994078.issue30098@psf.upfronthosting.co.za>
2017-04-18 23:35:59yselivanovlinkissue30098 messages
2017-04-18 23:35:59yselivanovcreate