Arjan Molenaar 557eb22e30
Event manager executes all handlers
It accumulates the exceptions and raises an ExceptionGroup
exception if there were any failures.

Rationale:

Event handlers should not be dependent on the order in which they
are executed.

If a handler fails the remaining handlers are not executed.
This can result in non-deterministic behavior.

This commit fixes that my allowing all handlers to be executed.

To make this work we use the (backported) ExceptionGroup from
Python 3.11.
2022-05-08 13:28:21 +02:00
..
2019-11-08 13:52:19 +01:00
2020-08-28 22:13:46 -04:00