[New-bugs-announce] [issue21039] pathlib strips trailing slash

Hristo Venev report at bugs.python.org
Sun Mar 23 14:55:56 CET 2014


New submission from Hristo Venev:

Some programs' behavior is different depending on whether the path has a trailing slash or not. Examples include ls, cp, mv, ln, rm and rsync. URL paths may also behave differently. For example http://xkcd.com/1 redirects to http://xkcd.com/1/

Boost.Filesystem's path class also supports trailing slashes in paths. C++'s filesystem library proposal is also based on Boost.Filesystem.

----------
components: Library (Lib)
files: pathlib.patch
keywords: patch
messages: 214581
nosy: h.venev
priority: normal
severity: normal
status: open
title: pathlib strips trailing slash
versions: Python 3.4
Added file: http://bugs.python.org/file34586/pathlib.patch

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


More information about the New-bugs-announce mailing list