Issue1806980

classification
Title: os.path.join ignores empty string
Type: Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: kagy, pjenvey
Priority: normal Keywords:

Created on 2007-10-03.14:52:49 by kagy, last changed 2007-10-13.23:29:53 by pjenvey.

Messages
msg1959 (view) Author: Kevin Glynn (kagy) Date: 2007-10-03.14:52:49
Jython 2.2.1rc1 on java1.5.0_11:

os.path.join(*'images/'.split()) gives 'images', not 'images/' (like CPython). It seems that os.path.join ignores the final empty string.

k
msg1960 (view) Author: Philip Jenvey (pjenvey) Date: 2007-10-04.00:27:17
I think I have a fix for this in my local repos
msg1961 (view) Author: Philip Jenvey (pjenvey) Date: 2007-10-13.23:29:53
This was fixed on trunk in r3570. It won't make the 2.2.1 release, unfortunately, but if we roll out a 2.2.2 it will be included. (i'll merge it over the branch once 2.2.1 is officially announced)
History
Date User Action Args
2007-10-03 14:52:49kagycreate