Wrong usage of tempfile.mkstemp causes file descriptor leaks in linux eventually crashing the process
fabiofabris opened this issue · 1 comments
fabiofabris commented
The quick fix:
Replace
xpto = tempfile.mkstemp(...)[1]
To:
fd, xpto = tempfile.mkstemp(...)
os.close(fd)
chrisspen commented
Thanks for the report. I've committed your fix.