]> granicus.if.org Git - python/commit
SF bug 478425: Change in os.path.join (ntpath.py)
authorTim Peters <tim.peters@gmail.com>
Mon, 5 Nov 2001 21:25:02 +0000 (21:25 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 5 Nov 2001 21:25:02 +0000 (21:25 +0000)
commit6a3e5f14a6038cc524c325dc33e2cb37510e6e4c
treeeb259749567ae008eec410e5233aa25fb1c2db5d
parent2a9e3852eeaa3a4d039e2dcedded011dddb612c0
SF bug 478425:  Change in os.path.join (ntpath.py)
ntpath.join('a', '') was producing 'a' instead of 'a\\' as in 2.1.
Impossible to guess what was ever *intended*, but since split('a\\')
produces ('a', ''), I think it's best if join('a', '') gives 'a\\' back.
Lib/ntpath.py
Lib/test/test_ntpath.py