55169e0b4d
A task that has been sent to the loop's exception handler due to being re-scheduled twice will then subsequently cause a `raise None` if it is subsequently awaited. In the C version of task.py, this causes a segfault. This makes the await succeed (via raising StopIteration instead). Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
7 lines
61 B
Plaintext
7 lines
61 B
Plaintext
create
|
|
sleep 1
|
|
raise
|
|
sleep 2
|
|
exception handler OSError
|
|
await
|