It states The file descriptor is not inherited by child processes. However, taking a look through https://github.com/python/cpython/blob/main/Lib/tempfile.py there ...