I'm forwarding Barry's answer:
-------- Message transféré --------
De: Barry Warsaw
- `p[q]` joins path q to path p
-1 Definitely not intuitive.
- `p + q` joins path q to path p
+0. IMHO, the most intuitive, but causes problems when you just want to tack on an extension, er, suffix. I guess if PathObj + str works it's not so bad.
- `p / q` joins path q to path p
+0. Cute! Too *nix centric?
- `p.join(q)` joins path q to path p
-0. Explicit (yay), but a bit verbose (boo). Maybe this should be the default underlying API, with one of the above as nice syntactic sugar? -Barry