Skip to content

Expose Barrier in the multiprocessing.synchronize module. #149400

@YvesDup

Description

@YvesDup

Bug report

Bug description:

Maybe I miss something, but the Barrier class is missing in the __all__ variable.

__all__ = [
'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Condition', 'Event'
]

I suggest to add it.

CPython versions tested on:

3.13, 3.14, 3.15, CPython main branch

Operating systems tested on:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions