win32: clarify comment regarding use of fdopen
authorBryan O'Sullivan <bos@serpentine.com>
Thu, 26 Mar 2009 13:14:35 -0700
changeset 8329 79a12651d46b
parent 8328 91f1fe78454c
child 8330 7de68012f86e
win32: clarify comment regarding use of fdopen
mercurial/win32.py
--- a/mercurial/win32.py	Thu Mar 26 13:13:48 2009 -0700
+++ b/mercurial/win32.py	Thu Mar 26 13:14:35 2009 -0700
@@ -270,8 +270,9 @@
     with win32file.FILE_SHARE_DELETE. this flag does not exist on
     windows < nt, so do not use this class there.'''
 
-    # tried to use win32file._open_osfhandle to pass fd to os.fdopen,
-    # but does not work at all. wrap win32 file api instead.
+    # ideally, we could use win32file._open_osfhandle and avoid this
+    # class entirely, but we would need the win32 _fdopen function,
+    # which is not exported by the win32file module.
 
     def __init__(self, name, mode='rb'):
         self.closed = False