Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bckport and extend the new temporary directory error handlers from cpython #38

Closed
techalchemy opened this issue Nov 10, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@techalchemy
Copy link
Member

See python/cpython#10320 -- this will improve error handling on cleanup by attempting to issue a chflags call which may help with cleanup of VCS indexes during finalizer detach

@techalchemy techalchemy added the enhancement New feature or request label Nov 10, 2018
@techalchemy techalchemy self-assigned this Nov 10, 2018
@techalchemy techalchemy changed the title Bckport and exxtend the new temporary directory error handlers from cpython Bckport and extend the new temporary directory error handlers from cpython Nov 10, 2018
techalchemy added a commit that referenced this issue Nov 10, 2018
- Backport python/cpython#10320 (not yet merged) for better cleanup on
  `shutil.rmtree` failure (using `os.chflags`)
- Add compatibility shims for `PermissionError` and `IsADirectory`
  exceptions
- General cleanup
- Fixes #38

Signed-off-by: Dan Ryan <dan@danryan.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant