[PATCH 4 of 9] stdio: add machinery to identify failed stdout/stderr writes

Bryan O'Sullivan bos at serpentine.com
Tue Apr 11 13:48:23 EDT 2017

On Tue, Apr 11, 2017 at 6:50 AM, Yuya Nishihara <yuya at tcha.org> wrote:

> Perhaps raisestdio() can be moved to ui.py to avoid importing sys.

I got rid of it entirely, since the only reason for it was to preserve
stacktraces, and that can't easily be done in a
cross-Python-version-compatible way. The benefit of preserving the
stacktraces isn't worth the hassle of trying to figure out how.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170411/06c18235/attachment.html>

More information about the Mercurial-devel mailing list