[issue30490] Allow pass an exception to the Event.set method

2017-07-19 Thread pfreixes
pfreixes added the comment: More info about why here https://github.com/python/cpython/pull/1824#issuecomment-315903808 -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___

[issue30490] Allow pass an exception to the Event.set method

2017-05-26 Thread pfreixes
Changes by pfreixes : -- pull_requests: +1911 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue30490] Allow pass an exception to the Event.set method

2017-05-26 Thread pfreixes
New submission from pfreixes: Having the Event as the way to synchronize 1:N coroutines, the none happy path should be able to be expressed making possible call the `set_exception` for each future related to each waiter. As an example the following code trying to implement a way to avoid the d