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