Message355835
> The change is slightly not backward compatible but
Yeah, that's my main problem with converting `loop.run_in_executor()` to a coroutine. When I attempted doing that I discovered that there's code that expects the method to return a Future, and so expects it have the `cancel()` method.
If we convert it to a coroutine a lot of code will break, which might be OK if it's really necessary. Is it though? Can we return a special Future subclass that complains if it's not awaited? Would that fix the problem? |
|
Date |
User |
Action |
Args |
2019-11-01 19:08:11 | yselivanov | set | recipients:
+ yselivanov, vstinner, asvetlov, Evgeny Nizhibitsky |
2019-11-01 19:08:11 | yselivanov | set | messageid: <1572635291.11.0.0346324622384.issue38430@roundup.psfhosted.org> |
2019-11-01 19:08:11 | yselivanov | link | issue38430 messages |
2019-11-01 19:08:10 | yselivanov | create | |
|