diff --git a/Lib/multiprocessing/synchronize.py b/Lib/multiprocessing/synchronize.py index 9188114ae284c7..868fc288d9a54f 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 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 00000000000000..f3d58ffe217cb8 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2026-05-07-05-29-06.gh-issue-149400.UAuAtm.rst @@ -0,0 +1 @@ +Expose ``Barrier`` in ``multiprocessing.synchronize.__all__``.