[issue21497] faulthandler should handle sys.stderr being None gracefully

STINNER Victor report at bugs.python.org
Tue May 13 17:51:06 CEST 2014


STINNER Victor added the comment:

> I personally would prefer failing silently though so the application still runs (if there's no stderr, there just is no fault log), but that's debatable of course.

Nope, there is no debate: there is the Zen of Python :-)

"Errors should never pass silently."

What's the purpose of enabling faulthandler if sys.stderr is None? If you don't want faulthandler output, don't enable faulthandler!?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21497>
_______________________________________


More information about the Python-bugs-list mailing list