Message246408
| Author |
pitrou |
| Recipients |
giampaolo.rodola, gvanrossum, ncoghlan, pitrou, srkunze, vstinner, yselivanov |
| Date |
2015年07月07日.13:01:50 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1436274110.74.0.358534347855.issue24571@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
FWIW:
> The concerns I have with "get_awaitable" are [snip]
I agree with you.
> I've changed the suggestion function name to "call_async"
I disagree. "async" is an extremely overloaded term with no unambiguous meaning (but possible misinterpretations), especially now that Python 3.5 has an "async" keyword (or quasi-keyword? I don't remember :-)).
"call_in_executor" I think was fine. "call_in_thread" would be as well (and would mimick Twisted's own callInThread). |
|