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

Scott Leerssen sleerssen at gmail.com
Sat Dec 17 18:34:37 CET 2011

On Dec 17, 2011, at 12:25 PM, Amaury Forgeot d'Arc wrote:

> 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__. 

Sorry, I did write that backward.  How is the win32 handle freed?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20111217/7d51b369/attachment-0001.html>

More information about the python-win32 mailing list