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 terry.reedy
Recipients Aivar.Annamaa, serhiy.storchaka, terry.reedy
Date 2014-09-14.17:44:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1410716673.59.0.360185197482.issue22384@psf.upfronthosting.co.za>
In-reply-to
Content
Since traceback.print_exception already uses print statememts, your patch *is* sufficient to trap the remaining stderr exception. Go ahead.

The doctring for report_callback_exception calls it an 'internal function'.  To me, that implies 'ignore this' rather than 'override this'.  I suggest changing the docstring to

"""Report callback exception on sys.stderr.

Applications may want to override this internal function, and should when sys.stderr is None.
"""
History
Date User Action Args
2014-09-14 17:44:33terry.reedysetrecipients: + terry.reedy, Aivar.Annamaa, serhiy.storchaka
2014-09-14 17:44:33terry.reedysetmessageid: <1410716673.59.0.360185197482.issue22384@psf.upfronthosting.co.za>
2014-09-14 17:44:33terry.reedylinkissue22384 messages
2014-09-14 17:44:33terry.reedycreate