[issue35652] Add use_srcentry parameter to shutil.copytree() II

2019-02-26 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: 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/c606a9cbd48f69d3

[issue35652] Add use_srcentry parameter to shutil.copytree() II

2019-02-23 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- pull_requests: +12024 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue35652] Add use_srcentry parameter to shutil.copytree() II

2019-02-23 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Not sure why you created 2 identical issues. Closing this one as a duplicate of issue35648. -- nosy: +giampaolo.rodola resolution: -> duplicate stage: patch review -> resolved status: open -> closed ___ Python

[issue35652] Add use_srcentry parameter to shutil.copytree() II

2019-02-23 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- pull_requests: -12023 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue35652] Add use_srcentry parameter to shutil.copytree() II

2019-02-23 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- pull_requests: +12023 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue35652] Add use_srcentry parameter to shutil.copytree() II

2019-01-03 Thread flokX
Change by flokX : -- keywords: +patch pull_requests: +10846 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mail

[issue35652] Add use_srcentry parameter to shutil.copytree() II

2019-01-03 Thread flokX
New submission from flokX : 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 param