Mercurial > public > mercurial-scm > hg-stable
diff mercurial/windows.py @ 45145:aea246bc04bd
windows: augment docstring of `winstdout` class
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Fri, 17 Jul 2020 03:12:29 +0200 |
parents | 8e8fd938ca07 |
children | a37f290a7124 |
line wrap: on
line diff
--- 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