Comment on Bug #915: Please helpparentComments−nneonneo6yThe file is in a with block - it should be automatically closed at the end of the block.−tyingq6yYes, but if it fixes the issue then there's something off with NamedTemporaryFile and its __exit__. You mentioned the file descriptor was being closed by a GC run, right?
Comments
The file is in a with block - it should be automatically closed at the end of the block.
Yes, but if it fixes the issue then there's something off with NamedTemporaryFile and its __exit__. You mentioned the file descriptor was being closed by a GC run, right?