[issue19775] Provide samefile() on Path objects

Antoine Pitrou report at bugs.python.org
Thu Dec 5 00:30:27 CET 2013


Antoine Pitrou added the comment:

Thanks for the patch! Some comments:

1. It should path objects as well as str objects.
2. I don't think you have to call resolve() here.
3. you should probably test what happens when one of the files doesn't exist
4. you need to update the documentation too

----------

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


More information about the Python-bugs-list mailing list