[issue9921] os.path.join('x','') behavior

Sept. 23, 2010
7: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> _______________________________________
5269
Age (days ago)
5269
Last active (days ago)
0 comments
1 participants
participants (1)
-
Brian Brazil