Skip to content

bpo-35652: shutil.copytree(copy_function=...): pass DirEntry instead of path str #11997

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 2 commits into from
Feb 26, 2019
Merged

bpo-35652: shutil.copytree(copy_function=...): pass DirEntry instead of path str #11997

merged 2 commits into from
Feb 26, 2019

Conversation

giampaolo
Copy link
Contributor

@giampaolo giampaolo commented Feb 23, 2019

This is related to the work I made in BPO-33695 and #7874 in which I inadvertently introduced a bug: if copy_function is specified src argument is a DirEntry instead of a path string. This PR fixes that issue.

https://bugs.python.org/issue35652

@giampaolo giampaolo merged commit c606a9c into python:master Feb 26, 2019
@giampaolo giampaolo deleted the shutil-35648 branch February 26, 2019 11:04
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.

3 participants