Message336824
| Author | giampaolo.rodola |
|---|---|
| Recipients | THRlWiTi, Tiger-222, brett.cannon, giampaolo.rodola |
| Date | 2019-02-28.10:26:32 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1551349592.72.0.896676055957.issue30235@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
One thing to note is the copy_function parameter: if a path-like object is given as input should the copy_function receive the same object instead of a path string? >>> copytree(path_like_src, path_like_dst, copy_function=foo) Because of issue33695 in case of copytree(..., copy_function=...) we currently force to always pass path strings if copy_function is specified: https://github.com/python/cpython/blob/ed1deb0719f0ac1b08a374e30ad26a701d4d51a2/Lib/shutil.py#L450 |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-02-28 10:26:32 | giampaolo.rodola | set | recipients: + giampaolo.rodola, brett.cannon, THRlWiTi, Tiger-222 |
| 2019-02-28 10:26:32 | giampaolo.rodola | set | messageid: <1551349592.72.0.896676055957.issue30235@roundup.psfhosted.org> |
| 2019-02-28 10:26:32 | giampaolo.rodola | link | issue30235 messages |
| 2019-02-28 10:26:32 | giampaolo.rodola | create | |