We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb937c2 commit cdd9aefCopy full SHA for cdd9aef
2 files changed
Lib/concurrent/futures/__init__.py
@@ -43,10 +43,9 @@
43
_interpreters = None
44
45
if _interpreters:
46
- lazy from .interpreter import InterpreterPoolExecutor
+ lazy from .interpreter import InterpreterPoolExecutor # noqa: F401
47
__all__.append('InterpreterPoolExecutor')
48
49
50
def __dir__():
51
return __all__ + ['__author__', '__doc__']
52
-
Misc/NEWS.d/next/Library/2026-07-03-17-29-34.gh-issue-150579.0tLpQukIU.rst
@@ -0,0 +1,2 @@
1
+:mod:`concurrent.futures` now uses lazy imports for its executor submodules
2
+instead of a module ``__getattr__`` hook.
0 commit comments