dispatch: remove stale comment about fdopen()-ed stdio
authorYuya Nishihara <yuya@tcha.org>
Fri, 18 Dec 2020 20:35:11 +0900
changeset 46172 d04c0e494cfe
parent 46171 dbc462e34e92
child 46173 a9765e0a461d
dispatch: remove stale comment about fdopen()-ed stdio On Python 3, stdout is just wrapped by LineBufferedWrapper.
mercurial/dispatch.py
--- a/mercurial/dispatch.py	Sat Dec 19 01:42:51 2020 -0500
+++ b/mercurial/dispatch.py	Fri Dec 18 20:35:11 2020 +0900
@@ -207,9 +207,7 @@
             except IOError:
                 pass
             # Otherwise mark it as closed to silence "Exception ignored in"
-            # message emitted by the interpreter finalizer. Be careful to
-            # not close procutil.stdout, which may be a fdopen-ed file object
-            # and its close() actually closes the underlying file descriptor.
+            # message emitted by the interpreter finalizer.
             try:
                 fp.close()
             except IOError: