Mieczysław Torchała added the comment:
Hi Andrei!
In my case it was:
OSError: [Errno 24] Too many open files
--
___
Python tracker
<https://bugs.python.org/issue42
Mieczysław Torchała added the comment:
Yes, having it written explicitly in docs (that remove means not only a file
removal with unlink/remove and warn about lacking file descriptors), or/and
providing a remove function in tempfile which will both unlink and close, would
be valuable
New submission from Mieczysław Torchała :
tempfile mkstemp() documentation says: "Unlike TemporaryFile(), the user of
mkstemp() is responsible for deleting the temporary file when done with it."
mkstemp() returns a tuple:
file_descriptor, file_path = mkstemp()
Calling only