[issue23241] shutil should accept pathlib types

R. David Murray report at bugs.python.org
Wed Jan 14 14:42:19 CET 2015


R. David Murray added the comment:

This is a specific example of a global discussion about handling of paths in the stdlib.  So far we have elected not to provide special handling.  The correct thing to do is call str.  I'm not sure if shutil is special enough to be a special case, but it would need to be discussed in the context of the larger issue in some forum other than the bug tracker (probably python-dev).

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23241>
_______________________________________


More information about the Python-bugs-list mailing list