[New-bugs-announce] [issue45365] concurrent.futures.Future should be suitable for use outside of executors

Xavier Morel report at bugs.python.org
Mon Oct 4 15:31:22 EDT 2021


New submission from Xavier Morel <xavier.morel at masklinn.net>:

concurrent.futures.Future currently has the note:

> Future instances are created by Executor.submit() and should not be created directly except for testing.

That seems like a shame as futures are useful concurrency construct and having to rebuild them "by hand" seems like a waste.

What are the issues which prevent safely using futures outside of executors, and is there a way they could be fixed / lifted?

----------
components: Library (Lib)
messages: 403181
nosy: xmorel
priority: normal
severity: normal
status: open
title: concurrent.futures.Future should be suitable for use outside of executors
type: enhancement
versions: Python 3.10

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


More information about the New-bugs-announce mailing list