Yury Selivanov <yseliva...@gmail.com> added the comment:

> We should warn against this in the docs right away (and backport the warning 
> to all previous versions that have set_executor).

I think we'll only allow instances of c.f.ThreadPoolExecutor (and its 
subclasses) to be passed to set_default_executor.  That's a more robust check 
than just guarding against ProcessPoolExecutor.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34075>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to