Re: [Python-Dev] [Python-checkins] cpython: Issue #12400: fix test_faulthandler if regrtest captures sys.stderr
29 Jun
2011
29 Jun
'11
12:37 p.m.
On Wed, Jun 29, 2011 at 9:43 PM, victor.stinner <python-checkins@python.org> wrote:
http://hg.python.org/cpython/rev/80c7d63325f6 changeset: 71065:80c7d63325f6 user: Victor Stinner <victor.stinner@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@gmail.com | Brisbane, Australia
4947
Age (days ago)
4947
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nick Coghlan