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 dantimofte
Recipients asvetlov, dantimofte, ned.deily, ronaldoussoren, yselivanov
Date 2019-04-17.12:27:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555504020.31.0.127391223104.issue36626@roundup.psfhosted.org>
In-reply-to
Content
`loop.call_soon_threadsafe(loop.stop)` solves the problem because it has the write_to_self there. I can use that or call loop._write_to_self() myself before calling loop.stop(). 

In my code i'm stoping the loop from the exception_handler not signal. The code was a small example i thought of that reproduces the described behaviour.

You can close the issue if it's ok for you.
History
Date User Action Args
2019-04-17 12:27:00dantimoftesetrecipients: + dantimofte, ronaldoussoren, ned.deily, asvetlov, yselivanov
2019-04-17 12:27:00dantimoftesetmessageid: <1555504020.31.0.127391223104.issue36626@roundup.psfhosted.org>
2019-04-17 12:27:00dantimoftelinkissue36626 messages
2019-04-17 12:27:00dantimoftecreate