Giampaolo Rodola' <g.rod...@gmail.com> added the comment:

When user uses copy_function argument, the callback function should always 
receive path strings, both for consistency and for not breaking backward 
compatibility. This line:

    use_srcentry = copy_function is copy2 or copy_function is copy

...makes sure of that (only passes DirEntry instances around if copy_function 
is not specified by user).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35648>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to