Mercurial > hg-stable
changeset 45145:aea246bc04bd
windows: augment docstring of `winstdout` class
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Fri, 17 Jul 2020 03:12:29 +0200 |
parents | c93dd9d9f1e6 |
children | a0791bfd9cfa |
files | mercurial/windows.py |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
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