This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author graingert
Recipients asvetlov, bjs, chris.jerdonek, graingert, gvanrossum, pagliaricci.m, serhiy.storchaka, yselivanov
Date 2022-02-23.18:02:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645639320.73.0.643679860491.issue45390@roundup.psfhosted.org>
In-reply-to
Content
there could be multiple messages here

perhaps it could be:

```
        finally:
            # Must reacquire lock even if wait is cancelled
            cancelled = []
            while True:
                try:
                    await self.acquire()
                    break
                except exceptions.CancelledError as e:
                    cancelled.append(e)

            if len(cancelled) > 1:
                raise ExceptionGroup("Cancelled", cancelled)
            if cancelled:
                raise cancelled[0]
```
History
Date User Action Args
2022-02-23 18:02:00graingertsetrecipients: + graingert, gvanrossum, asvetlov, chris.jerdonek, serhiy.storchaka, yselivanov, bjs, pagliaricci.m
2022-02-23 18:02:00graingertsetmessageid: <1645639320.73.0.643679860491.issue45390@roundup.psfhosted.org>
2022-02-23 18:02:00graingertlinkissue45390 messages
2022-02-23 18:02:00graingertcreate