windows: augment docstring of `winstdout` class
authorManuel Jacob <me@manueljacob.de>
Fri, 17 Jul 2020 03:12:29 +0200
changeset 45145 aea246bc04bd
parent 45144 c93dd9d9f1e6
child 45146 a0791bfd9cfa
windows: augment docstring of `winstdout` class
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