Skip to content

Add a Barrier object in asyncio lib #87518

Description

@YvesDup
mannequin
BPO 43352
Nosy @asvetlov, @1st1, @eamanu, @YvesDup
PRs
  • bpo-43352: Add a Barrier object in asyncio lib #24903
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2022-03-25.22:02:23.486>
    created_at = <Date 2021-03-01.11:39:56.345>
    labels = ['3.11', 'type-feature', 'expert-asyncio']
    title = 'Add a Barrier object in asyncio lib'
    updated_at = <Date 2022-03-25.22:02:23.485>
    user = 'https://github.com/YvesDup'

    bugs.python.org fields:

    activity = <Date 2022-03-25.22:02:23.485>
    actor = 'asvetlov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-03-25.22:02:23.486>
    closer = 'asvetlov'
    components = ['asyncio']
    creation = <Date 2021-03-01.11:39:56.345>
    creator = 'yduprat'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43352
    keywords = ['patch']
    message_count = 4.0
    messages = ['387855', '392282', '396453', '416019']
    nosy_count = 5.0
    nosy_names = ['asvetlov', 'python-dev', 'yselivanov', 'eamanu', 'yduprat']
    pr_nums = ['24903']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue43352'
    versions = ['Python 3.11']

    Activity

    1. YvesDup commented on Mar 1, 2021

      YvesDupmannequin
      MannequinAuthor

      Add a synchronized primitive Barrier in asyncio, in order to be consistent with them we have for threading.

      Barrier object will have a similar design from that of threading lib.
      (May be we have to think about a backport ?)

      Initial discussion started here: https://mail.python.org/archives/list/python-ideas@python.org/thread/IAFAH7PWMUDUTLXYLNSXES7VMDQ26A3W/

    2. YvesDup commented on Apr 29, 2021

      YvesDupmannequin
      MannequinAuthor

      An update was submitted on PR.

      Modified python files are:

      file lib/asyncio/locks.py
      file lib/test/test_asyncio/test_locks.py

      And related documentation files

      file Doc/library/asyncio-api-index.rst
      file Doc/library/asyncio-sync.rst

      Please, could you have a look ?

    3. YvesDup commented on Jun 24, 2021

      YvesDupmannequin
      MannequinAuthor

      This last version includes the propositions, remarks from @asveltov and @eamanu

      This PR is always stuck, so could you please approve the 3 running workflows ?

    4. asvetlov commented on Mar 25, 2022

      @asvetlov
      Contributor

      New changeset d03acd7 by Duprat in branch 'main':
      bpo-43352: Add a Barrier object in asyncio lib (GH-24903)
      d03acd7

    5. transferred this issue fromon Apr 10, 2022
    6. added a commit that references this issue on May 18, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions