On Fri, Apr 3, 2009 at 9:09 AM, Stephen Kennedy <[email protected]> wrote:
> On Sat, Mar 28, 2009 at 1:49 AM, Vincent Legoll
> <[email protected]> wrote:
>> Was that a cut'n'paste mistake, or was it really intended
>> to os.path.join directory with ${HOME} here. I don't
>> understand how it could make sense. Please explain.
>
> Yes, the original code is confusing. Strangely it works ok though
> because of the strange behavior of os.path.join! os.path.join("foo",
> "/bar") == "/bar"

Yes that's what I found, but we shouldn't rely on corner cases, let our
code be straight clean and easily understandable.

-- 
Vincent Legoll
_______________________________________________
meld-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/meld-list

Reply via email to