[issue29982] tempfile.TemporaryDirectory fails to delete itself

2021-03-14 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue29982] tempfile.TemporaryDirectory fails to delete itself

2021-03-14 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset bd2fa3c416ffe6107b500a2180fa1764645c0a61 by CAM Gerlach in branch 'master': bpo-29982: Add "ignore_cleanup_errors" param to tempfile.TemporaryDirectory() (GH-24793)

[issue29982] tempfile.TemporaryDirectory fails to delete itself

2021-03-08 Thread C.A.M. Gerlach
C.A.M. Gerlach added the comment: Thanks! Submitted as PR #24793 https://github.com/python/cpython/pull/24793 -- ___ Python tracker ___

[issue29982] tempfile.TemporaryDirectory fails to delete itself

2021-03-08 Thread C.A.M. Gerlach
Change by C.A.M. Gerlach : -- keywords: +patch pull_requests: +23560 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24793 ___ Python tracker ___

[issue29982] tempfile.TemporaryDirectory fails to delete itself

2021-03-07 Thread Guido van Rossum
Guido van Rossum added the comment: SGTM -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29982] tempfile.TemporaryDirectory fails to delete itself

2021-03-06 Thread C.A.M. Gerlach
C.A.M. Gerlach added the comment: In addition to transient failures, this can also occur when, for example, files opened in the temporary directory (perhaps by library or application code not under direct control of the caller) haven't been properly cleaned up and their file handles don't

[issue29982] tempfile.TemporaryDirectory fails to delete itself

2019-06-12 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29982] tempfile.TemporaryDirectory fails to delete itself

2018-11-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list

[issue29982] tempfile.TemporaryDirectory fails to delete itself

2017-04-28 Thread Guido van Rossum
Guido van Rossum added the comment: 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

[issue29982] tempfile.TemporaryDirectory fails to delete itself

2017-04-04 Thread Eryk Sun
Changes by Eryk Sun : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware versions: +Python 3.7 ___ Python tracker

[issue29982] tempfile.TemporaryDirectory fails to delete itself

2017-04-04 Thread Max
New submission from Max: There's a known issue with `shutil.rmtree` on Windows, in that it fails intermittently. The issue is well known (https://mail.python.org/pipermail/python-dev/2013-September/128353.html), and the agreement is that it cannot be cleanly solved inside `shutil` and