
Sept. 23, 2010
9:14 p.m.
Brian Brazil <brian.brazil@gmail.com> added the comment: The behaviour is a bit more nuanced:
os.path.join('x', '') 'x/' os.path.join('x', '', 'y') 'x/y' os.path.join('x', '', 'y', '', '') 'x/y/' os.path.join('', 'x') 'x'
I'm unsure how to word this best, maybe "non-trailing empty paths are ignored"? ---------- nosy: +bbrazil _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue9921> _______________________________________