Comment 1 for bug 1086860

Revision history for this message
Marten de Vries (marten-de-vries) wrote :

This bug happened due to file descriptors returned by tempfile.mkstemp weren't closed. That only gives problems on Windows. The fix was to replace:
path = tempfile.mkstemp()[1]

with

fd, path = tempfile.mkstemp()
os.close(fd)

everywhere. Fixed.