… Note that mechanize works fine on Windows. The Tempfile or StringIO is closed at the appropriate time which will delete the backing file in the case of Tempfile. If you have an issue with the ...
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 ...