[issue36395] Add deferred single-threaded/fake executor to concurrent.futures

Brian McCutchon report at bugs.python.org
Mon May 6 15:42:16 EDT 2019


Brian McCutchon <bmccutchon at google.com> added the comment:

Mostly nondeterminism. It seems like creating a ThreadPoolExecutor with one worker could still be nondeterministic, as there are two threads: the main thread and the worker thread. It gets worse if multiple executors are needed.

Another option would be to design and document futures.Executor to be extended so that I can make my own fake executor.

----------

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


More information about the Python-bugs-list mailing list