New submission from Alessandro Forghieri :
Observed behavior:
>>>>>>os.path.join('/foo/bar', '/baz')
'/baz'
Expected behavior:
should return '/foo/bar/baz' or (suboptimally) raise an exception.
Why:
Observed beahvior violates the min
Changes by Alessandro Forghieri :
--
title: os.path.join when second starts with '/' (linux/unix) -> os.path.join
when second argument starts with '/' (linux/unix)
___
Python tracker
<http://
Alessandro Forghieri added the comment:
Documented it is, and change it may not, but I am still unconvinced.
Anything that joins "should" (IMHO) preserve the leading stuff - this one
throws it away - sometimes. Also I do believe a number of other languages take
a different stanc