Could somone provide a concrete example on a proposed use of such an asyncio.Barrier?

On Fri, 2021-02-26 at 14:19 -0800, Guido van Rossum wrote:
On Fri, Feb 26, 2021 at 10:09 AM Yves Duprat <yduprat@gmail.com> wrote:
I was expecting an explanation about the initial request.
Is there an oversight (??) or an another reason to not have a Barrier primitive in asyncio ?


Probably because nobody working on asyncio at the time had any experience using threading.Barrier. I know that I have used all the other primitives, but I don't recall ever having used Barrier. I don't think there's anything deeper than that. You should probably just open a bpo issue (mention this thread) and submit a PR linked there. I can't promise to review it though. :-)
 
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-leave@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/GNUCKA2MCVROCVLWRQUTMUG7CGOVQQV6/
Code of Conduct: http://python.org/psf/codeofconduct/