[Python-Dev] pathlib handling of trailing slash (Issue #21039)

Alexander Belopolsky alexander.belopolsky at gmail.com
Thu Aug 7 02:50:14 CEST 2014


On Wed, Aug 6, 2014 at 8:11 PM, Antoine Pitrou <antoine at python.org> wrote:

> Am I overlooking other cases?


There are many interfaces where trailing slash is significant.  For
example, rsync uses trailing slash on the target directory to avoid
creating an additional directory level at the destination.  Loosing it when
passing path strings through pathlib.Path() may be a source of bugs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140806/fe176a8d/attachment.html>


More information about the Python-Dev mailing list