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.
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: mkstemp( )[1]
path = tempfile.
with
fd, path = tempfile.mkstemp()
os.close(fd)
everywhere. Fixed.