[issue42830] tempfile mkstemp() leaks file descriptors if os.close() is not called
Andrei Kulakov
report at bugs.python.org
Fri Jul 9 15:13:09 EDT 2021
Andrei Kulakov <andrei.avk at gmail.com> added the comment:
Can someone w/access to a Linux system confirm if running out of FDs raises an OSError?
Something like this:
N = `ulimit -n` + 5
for x in range(N): tempfile.mkstemp()
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42830>
_______________________________________
More information about the Python-bugs-list
mailing list