[Python-ideas] PEP 428: poll about the joining syntax

Arnaud Delobelle arnodel at gmail.com
Thu Oct 11 13:27:05 CEST 2012


On 11 October 2012 08:03, Joachim König <him at online.de> wrote:
> On 11/10/2012 04:24, Chris Jerdonek wrote:
>>
>> Or how about path.slash(other_path)? :)
>>
> and path.backslash(other_path) for windows compaptibility ;-)

That's made my day!

How about a past participle to express it's not mutating?

e.g.
1. path.joined("foo/bar")
2. path.extended("foo", "bar")

(or some better and shorter one I can't think of).

-- 
Arnaud



More information about the Python-ideas mailing list