[python-win32] file descriptor issues using msvcrt.open_osfhandle()+os.fdopen()

Amaury Forgeot d'Arc amauryfa at gmail.com
Sat Dec 17 18:25:57 CET 2011


2011/12/17 Scott Leerssen <sleerssen at gmail.com>

> I did see that, but I interpreted that to mean that the PyHANDLE would be
> dereferenced from the underlying Windows file handle,
>

It's the other way round: the PyHandle just forgets the win32 handle value,
and will not close it in its __del__.

-- 
Amaury Forgeot d'Arc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20111217/d6ee72f5/attachment.html>


More information about the python-win32 mailing list