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 jinty
Recipients gvanrossum, jinty, r.david.murray, vstinner, yselivanov
Date 2015-10-27.14:43:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1445956984.45.0.623051111018.issue25489@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2015-10-27 14:43:04jintysetrecipients: + jinty, gvanrossum, vstinner, r.david.murray, yselivanov
2015-10-27 14:43:04jintysetmessageid: <1445956984.45.0.623051111018.issue25489@psf.upfronthosting.co.za>
2015-10-27 14:43:04jintylinkissue25489 messages
2015-10-27 14:43:04jintycreate