# HG changeset patch # User Manuel Jacob # Date 1594948349 -7200 # Node ID aea246bc04bdd52caef8cc43c9e8932fd5deae9d # Parent c93dd9d9f1e658d6674f3f54872e363f3af4175e windows: augment docstring of `winstdout` class diff -r c93dd9d9f1e6 -r aea246bc04bd mercurial/windows.py --- a/mercurial/windows.py Fri Jul 17 09:20:48 2020 +0200 +++ b/mercurial/windows.py Fri Jul 17 03:12:29 2020 +0200 @@ -187,7 +187,13 @@ class winstdout(object): - '''stdout on windows misbehaves if sent through a pipe''' + '''Some files on Windows misbehave. + + When writing to a broken pipe, EINVAL instead of EPIPE may be raised. + + When writing too many bytes to a console at the same, a "Not enough space" + error may happen. Python 3 already works around that. + ''' def __init__(self, fp): self.fp = fp