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 vstinner
Recipients The Compiler, vstinner
Date 2014-05-13.16:09:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399997387.74.0.509266050939.issue21497@psf.upfronthosting.co.za>
In-reply-to
Content
> This means there's an unexpected gotcha

I prefer to see an exception before sys.stderr is None, instead of not seeing the traceback when the application does crash. It is usually a pain to reproduce a crash in the exact same conditions.

> if I want my application to still run under Windows when the user has changed the default, I first have to check sys.stderr before enabling faulthandler.

Exactly. It's not really specific to Windows, you may also have sys.stderr on UNIX in some cases.
History
Date User Action Args
2014-05-13 16:09:47vstinnersetrecipients: + vstinner, The Compiler
2014-05-13 16:09:47vstinnersetmessageid: <1399997387.74.0.509266050939.issue21497@psf.upfronthosting.co.za>
2014-05-13 16:09:47vstinnerlinkissue21497 messages
2014-05-13 16:09:47vstinnercreate