[issue12104] os.path.join('/some/path', '') adds extra slash at end of result

Марк Коренберг report at bugs.python.org
Wed May 18 21:05:26 CEST 2011


New submission from Марк Коренберг <socketpair at gmail.com>:

os.path.join('/some/path', '') adds extra slash at end of result. I expect in that case return value should be '/some/path' but not '/some/path/'

----------
components: Library (Lib)
messages: 136258
nosy: mmarkk
priority: normal
severity: normal
status: open
title: os.path.join('/some/path', '') adds extra slash at end of result
type: behavior

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


More information about the Python-bugs-list mailing list