[Python-Dev] [Python-checkins] cpython: Issue #12400: fix test_faulthandler if regrtest captures sys.stderr (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Wed Jun 29 14:37:00 CEST 2011
- Previous message: [Python-Dev] svn.python.org confusion
- Next message: [Python-Dev] PEP 397 (Python launcher for Windows) reference implementation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 testfaulthandler 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
- Previous message: [Python-Dev] svn.python.org confusion
- Next message: [Python-Dev] PEP 397 (Python launcher for Windows) reference implementation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]