Issue 35652: Add use_srcentry parameter to shutil.copytree() II (original) (raw)

Issue35652

Created on 2019-01-03 18:57 by xxxxxxx, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 11425 closed xxxxxxx,2019-01-03 19:04
PR 11997 merged giampaolo.rodola,2019-02-23 17:14
Messages (3)
msg332941 - (view) Author: (xxxxxxx) * Date: 2019-01-03 18:57
Currently it is decided if to use the srcentry in the copy_function by checking if the copy_function is copy() or copy2(). This will fail if the copy_function is a modified copy() or copy2() function. To control if the copy_function gets a srcentry or srcname parameter, added the use_srcentry parameter. Successor of https://bugs.python.org/issue35648
msg336387 - (view) Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) Date: 2019-02-23 16:36
Not sure why you created 2 identical issues. Closing this one as a duplicate of .
msg336645 - (view) Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) Date: 2019-02-26 11:04
New changeset c606a9cbd48f69d3f4a09204c781dda9864218b7 by Giampaolo Rodola in branch 'master': bpo-35652: shutil.copytree(copy_function=...) erroneously pass DirEntry instead of path str (GH-11997) https://github.com/python/cpython/commit/c606a9cbd48f69d3f4a09204c781dda9864218b7
History
Date User Action Args
2022-04-11 14:59:09 admin set github: 79833
2019-02-26 11:04:47 giampaolo.rodola set messages: +
2019-02-23 17:14:29 giampaolo.rodola set pull_requests: + <pull%5Frequest12024>
2019-02-23 16:36:54 giampaolo.rodola set pull_requests: - <pull%5Frequest12023>
2019-02-23 16:36:46 giampaolo.rodola set status: open -> closednosy: + giampaolo.rodolamessages: + resolution: duplicatestage: patch review -> resolved
2019-02-23 15:16:23 giampaolo.rodola set pull_requests: + <pull%5Frequest12023>
2019-01-03 19:04:25 xxxxxxx set keywords: + patchstage: patch reviewpull_requests: + <pull%5Frequest10846>
2019-01-03 18:57:45 xxxxxxx create