[issue32689] shutil.move raises AttributeError if first argument is a pathlib.Path object and destination is a directory

Craig Holmquist report at bugs.python.org
Sun Jan 28 14:43:45 EST 2018


Craig Holmquist <craigholm at gmail.com> added the comment:

In my test, the second call to path.absolute() is just returning the same result as the first call, which is what I would expect (as you say, the path object doesn't update automatically).

However, your output shows it returning '/Users/e/Development/OSS/cpython/test2' instead of the (now broken) path from the first call.  Maybe I'm missing something?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32689>
_______________________________________


More information about the Python-bugs-list mailing list