[Python-Dev] [Python-checkins] cpython: Issue #12400: fix test_faulthandler if regrtest captures sys.stderr
Nick Coghlan
ncoghlan at gmail.com
Wed Jun 29 14:37:00 CEST 2011
On Wed, Jun 29, 2011 at 9:43 PM, victor.stinner
<python-checkins at python.org> wrote:
> http://hg.python.org/cpython/rev/80c7d63325f6
> changeset: 71065:80c7d63325f6
> user: Victor Stinner <victor.stinner at haypocalc.com>
> date: Wed Jun 29 13:44:05 2011 +0200
> summary:
> Issue #12400: fix test_faulthandler if regrtest captures sys.stderr
>
> faulthandler.enable() requires that sys.stderr has a fileno() method.
Would there be any value in falling back to sys.__stderr__ in the case
where sys.stderr has been redirected?
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-Dev
mailing list