[issue21423] concurrent.futures.ThreadPoolExecutor/ProcessPoolExecutor should accept an initializer argument

Serhiy Storchaka report at bugs.python.org
Thu Nov 9 05:56:36 EST 2017


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I'm not well experienced with logging, but if we can change the logging in subprocesses, I think we could change it to not output messages at all. It would be better to save logging messages in subprocesses and check that expected logging messages are emitted in the main process. There is assertLogs(), but it works only with logging in the same process.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue21423>
_______________________________________


More information about the Python-bugs-list mailing list