This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients Gabriele Tornetta, christian.heimes
Date 2021-01-01.13:01:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609506112.79.0.649444809148.issue42796@roundup.psfhosted.org>
In-reply-to
Content
The code fails because TemporaryDirectory.__exit__() is unable to remove the directory. Windows doesn't let you remove files and directories that are used by a process. On POSIX-like operating systems like Linux support removing of opened files. For example anonymous temporary files use the trick.
History
Date User Action Args
2021-01-01 13:01:52christian.heimessetrecipients: + christian.heimes, Gabriele Tornetta
2021-01-01 13:01:52christian.heimessetmessageid: <1609506112.79.0.649444809148.issue42796@roundup.psfhosted.org>
2021-01-01 13:01:52christian.heimeslinkissue42796 messages
2021-01-01 13:01:52christian.heimescreate