]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-106075: add `asyncio.taskgroups.__all__` to `asyncio.__all__` (#106090)
authorJames Webber <jamestwebber@users.noreply.github.com>
Mon, 26 Jun 2023 07:54:03 +0000 (03:54 -0400)
committerGitHub <noreply@github.com>
Mon, 26 Jun 2023 07:54:03 +0000 (07:54 +0000)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Lib/asyncio/__init__.py
Lib/asyncio/taskgroups.py
Misc/ACKS
Misc/NEWS.d/next/Library/2023-06-25-12-28-55.gh-issue-106075.W7tMRb.rst [new file with mode: 0644]

index fed16ec7c67fac33cc1015f9027087c8f0460b1d..03165a425eb7d2580657de69d13e844837b11aa5 100644 (file)
@@ -34,6 +34,7 @@ __all__ = (base_events.__all__ +
            streams.__all__ +
            subprocess.__all__ +
            tasks.__all__ +
+           taskgroups.__all__ +
            threads.__all__ +
            timeouts.__all__ +
            transports.__all__)
index bf92bbaf0d005826f76351b115d53cc051c375d6..24238c4f5f998d0f9b26d1ef9ebfb8f9547f3395 100644 (file)
@@ -2,7 +2,7 @@
 # license: PSFL.
 
 
-__all__ = ["TaskGroup"]
+__all__ = ("TaskGroup",)
 
 from . import events
 from . import exceptions
index be8755637ffa3c02a6123d39528e2f6792abdee8..454b63155f013c9819ea85d20f438aecfdf9b5a1 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1946,6 +1946,7 @@ Colin Watson
 David Watson
 Aaron Watters
 Alex Waygood
+James Webber
 Russel Webber
 Henrik Weber
 Leon Weber
diff --git a/Misc/NEWS.d/next/Library/2023-06-25-12-28-55.gh-issue-106075.W7tMRb.rst b/Misc/NEWS.d/next/Library/2023-06-25-12-28-55.gh-issue-106075.W7tMRb.rst
new file mode 100644 (file)
index 0000000..d268715
--- /dev/null
@@ -0,0 +1 @@
+Added `asyncio.taskgroups.__all__` to `asyncio.__all__` for export in star imports.