Sorry, didn't see Jonathan's example.
On Sat, 2021-02-27 at 01:12 +0000, Paul Bryan wrote:
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:
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. :-)