summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-06-08 16:35:10 (GMT)
committerGitHub <noreply@github.com>2024-06-08 16:35:10 (GMT)
commit4bca4e58af2e8cf6ce78151d3ae73bd254a4e64c (patch)
tree6264c688621e0b3dc6d11d23af1942425e527909
parent9b704ceecae28d73a0315c3fd5547cf09b2d85a4 (diff)
downloadcpython-4bca4e58af2e8cf6ce78151d3ae73bd254a4e64c.zip
cpython-4bca4e58af2e8cf6ce78151d3ae73bd254a4e64c.tar.gz
cpython-4bca4e58af2e8cf6ce78151d3ae73bd254a4e64c.tar.bz2
[3.13] gh-120121: Add InvalidStateError to concurrent.futures.__all__ (GH-120123) (#120273)
gh-120121: Add InvalidStateError to concurrent.futures.__all__ (GH-120123) (cherry picked from commit 5d59b870effa0f576acf7264cfcbfca2b36e34e3) Co-authored-by: AN Long <aisk@users.noreply.github.com> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
-rw-r--r--Lib/concurrent/futures/__init__.py1
-rw-r--r--Misc/NEWS.d/next/Library/2024-06-05-16-30-28.gh-issue-120121.9dz8i7.rst1
2 files changed, 2 insertions, 0 deletions
diff --git a/Lib/concurrent/futures/__init__.py b/Lib/concurrent/futures/__init__.py
index 292e886..72de617 100644
--- a/Lib/concurrent/futures/__init__.py
+++ b/Lib/concurrent/futures/__init__.py
@@ -23,6 +23,7 @@ __all__ = (
'ALL_COMPLETED',
'CancelledError',
'TimeoutError',
+ 'InvalidStateError',
'BrokenExecutor',
'Future',
'Executor',
diff --git a/Misc/NEWS.d/next/Library/2024-06-05-16-30-28.gh-issue-120121.9dz8i7.rst b/Misc/NEWS.d/next/Library/2024-06-05-16-30-28.gh-issue-120121.9dz8i7.rst
new file mode 100644
index 0000000..4f35264
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-06-05-16-30-28.gh-issue-120121.9dz8i7.rst
@@ -0,0 +1 @@
+Add :exc:`concurrent.futures.InvalidStateError` to module's ``__all__``.