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 gvanrossum
Recipients gvanrossum, max, paul.moore, steve.dower, tim.golden, zach.ware
Date 2017-04-29.04:17:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493439454.8.0.984540965368.issue29982@psf.upfronthosting.co.za>
In-reply-to
Content
A simpler approach would be to simply ignore the error when it occurs in TemporaryDirectory._cleanup. There are no absolute guarantees about tempfile always cleaning up -- just a best effort. The complexity (and potential delays) of a retry loop seem more risky than simply occasionally not cleaning up -- that happens anyways, for a variety of reasons.
History
Date User Action Args
2017-04-29 04:17:34gvanrossumsetrecipients: + gvanrossum, paul.moore, tim.golden, max, zach.ware, steve.dower
2017-04-29 04:17:34gvanrossumsetmessageid: <1493439454.8.0.984540965368.issue29982@psf.upfronthosting.co.za>
2017-04-29 04:17:34gvanrossumlinkissue29982 messages
2017-04-29 04:17:34gvanrossumcreate