Skip to content

[3.8] bpo-42014: shutil.rmtree: call onerror with correct function (GH-22585) #23229

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

Merged
merged 1 commit into from
Nov 10, 2020

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Nov 10, 2020

The onerror is supposed to be called with failed function, but in this case lstat is wrongly used instead of open.

Not sure if this needs bug or not...

Automerge-Triggered-By: GH:hynek
(cherry picked from commit e59b2de)

Co-authored-by: Michal Čihař [email protected]

https://bugs.python.org/issue42014

Automerge-Triggered-By: GH:hynek

…H-22585)

The onerror is supposed to be called with failed function, but in this case lstat is wrongly used instead of open.

Not sure if this needs bug or not...

Automerge-Triggered-By: GH:hynek
(cherry picked from commit e59b2de)

Co-authored-by: Michal Čihař <[email protected]>
@miss-islington
Copy link
Contributor Author

@nijel: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@nijel: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit c745b36 into python:3.8 Nov 10, 2020
@miss-islington miss-islington deleted the backport-e59b2de-3.8 branch November 10, 2020 16:27
@miss-islington
Copy link
Contributor Author

@nijel: Status check is done, and it's a failure ❌ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants