Brian Sutherland added the comment:
the workaround I am using at the moment is this:
def handler(loop, context):
print('Got error, exiting')
loop.call_soon(sys.exit, 42)
which actually does cause the process to exit
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue25489>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com