En Wed, 02 May 2007 02:31:43 -0300, <[EMAIL PROTECTED]> escribió:

> A better question is why this doesn't work.
>
>>>> pathparts = ["/foo", "bar"]
>>>> os.path.join(pathparts)
> ['/foo', 'bar']
>
> This should return a string in my opinion.

I think it's a bug, but because it should raise TypeError instead.
The right usage is os.path.join(*pathparts)

-- 
Gabriel Genellina
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to