Message321324
I've had a few conversations with people who were confused that asyncio starts to behave weirdly when a ProcessPoolExecutor is set as the default one. We don't really test that asyncio's built-in functionality (like DNS resolving) works well with a process-pool, which leads to bug reports like [1]. Third-party libraries also always assume that the loop is always configured to use the ThreadPoolExecutor (as it is by default), and also don't even test against ProcessPool.
My idea here would be to deprecate setting ProcessPoolExecutor as a default one in 3.8 and prohibit that in 3.9.
Guido, Andrew, what do you think?
[1] https://bugs.python.org/issue34073 |
|
Date |
User |
Action |
Args |
2018-07-09 15:29:35 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, asvetlov |
2018-07-09 15:29:34 | yselivanov | set | messageid: <1531150174.99.0.56676864532.issue34075@psf.upfronthosting.co.za> |
2018-07-09 15:29:34 | yselivanov | link | issue34075 messages |
2018-07-09 15:29:34 | yselivanov | create | |
|