On Wed, Jun 29, 2011 at 9:43 PM, victor.stinner <[email protected]> wrote: > http://hg.python.org/cpython/rev/80c7d63325f6 > changeset: 71065:80c7d63325f6 > user: Victor Stinner <[email protected]> > 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 | [email protected] | Brisbane, Australia _______________________________________________ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
