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

Eric Snow ericsnowcurrently at gmail.com
Tue Oct 9 01:35:52 CEST 2012


On Mon, Oct 8, 2012 at 12:47 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> - `p[q]` joins path q to path p
-1
> - `p + q` joins path q to path p
-1
> - `p / q` joins path q to path p
-1
> - `p.join(q)` joins path q to path p
+1 (with a different name)

I've found Nick's argument against operators-from-day-1 to be
convincing, as well as his argument against join() or any other name
already provided by string/sequence APIs.

-eric



More information about the Python-ideas mailing list