From 1ca6ae80b7fdb9454fa8f32e4ccfb52af5949b2b Mon Sep 17 00:00:00 2001 From: Aniket Singh Yadav Date: Wed, 6 May 2026 14:46:55 +0530 Subject: [PATCH 1/4] Expose Barrier in multiprocessing.synchronize.__all__ --- Lib/multiprocessing/synchronize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/multiprocessing/synchronize.py b/Lib/multiprocessing/synchronize.py index 9188114ae284c74..868fc288d9a54f6 100644 --- a/Lib/multiprocessing/synchronize.py +++ b/Lib/multiprocessing/synchronize.py @@ -8,7 +8,7 @@ # __all__ = [ - 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Condition', 'Event' + 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Condition', 'Event', 'Barrier' ] import threading From 8370d9b807ba581d4820c60ea4d8958db7cd6666 Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" <43283697+blurb-it[bot]@users.noreply.github.com> Date: Thu, 7 May 2026 05:29:08 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../next/Library/2026-05-07-05-29-06.gh-issue-149400.UAuAtm.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Library/2026-05-07-05-29-06.gh-issue-149400.UAuAtm.rst diff --git a/Misc/NEWS.d/next/Library/2026-05-07-05-29-06.gh-issue-149400.UAuAtm.rst b/Misc/NEWS.d/next/Library/2026-05-07-05-29-06.gh-issue-149400.UAuAtm.rst new file mode 100644 index 000000000000000..17dd538bafaf656 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2026-05-07-05-29-06.gh-issue-149400.UAuAtm.rst @@ -0,0 +1 @@ +Expose :class:`~multiprocessing.synchronize.Barrier` in ``multiprocessing.synchronize.__all__``. From 3f0325d2f28f3ce1ff572641d4681154809c99d7 Mon Sep 17 00:00:00 2001 From: Aniket <148300120+Aniketsy@users.noreply.github.com> Date: Thu, 7 May 2026 11:06:07 +0530 Subject: [PATCH 3/4] Update Misc/NEWS.d/next/Library/2026-05-07-05-29-06.gh-issue-149400.UAuAtm.rst --- .../next/Library/2026-05-07-05-29-06.gh-issue-149400.UAuAtm.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Library/2026-05-07-05-29-06.gh-issue-149400.UAuAtm.rst b/Misc/NEWS.d/next/Library/2026-05-07-05-29-06.gh-issue-149400.UAuAtm.rst index 17dd538bafaf656..f3d58ffe217cb8a 100644 --- a/Misc/NEWS.d/next/Library/2026-05-07-05-29-06.gh-issue-149400.UAuAtm.rst +++ b/Misc/NEWS.d/next/Library/2026-05-07-05-29-06.gh-issue-149400.UAuAtm.rst @@ -1 +1 @@ -Expose :class:`~multiprocessing.synchronize.Barrier` in ``multiprocessing.synchronize.__all__``. +Expose ``Barrier`` in ``multiprocessing.synchronize.__all__``. From 03b1dc9b977f241ac44023174b06862187c50297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A9n=C3=A9dikt=20Tran?= <10796600+picnixz@users.noreply.github.com> Date: Fri, 5 Jun 2026 14:10:31 +0200 Subject: [PATCH 4/4] Update Misc/NEWS.d/next/Library/2026-05-07-05-29-06.gh-issue-149400.UAuAtm.rst --- .../next/Library/2026-05-07-05-29-06.gh-issue-149400.UAuAtm.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Library/2026-05-07-05-29-06.gh-issue-149400.UAuAtm.rst b/Misc/NEWS.d/next/Library/2026-05-07-05-29-06.gh-issue-149400.UAuAtm.rst index f3d58ffe217cb8a..ca714ede8aeb68a 100644 --- a/Misc/NEWS.d/next/Library/2026-05-07-05-29-06.gh-issue-149400.UAuAtm.rst +++ b/Misc/NEWS.d/next/Library/2026-05-07-05-29-06.gh-issue-149400.UAuAtm.rst @@ -1 +1 @@ -Expose ``Barrier`` in ``multiprocessing.synchronize.__all__``. +:mod:`!multiprocessing.synchronize`: publicly expose :class:`multiprocessing.Barrier`.