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

Georg Brandl g.brandl at gmx.net
Tue Oct 9 21:24:08 CEST 2012


Am 08.10.2012 20:47, schrieb Antoine Pitrou:
> 
> Hello,
> 
> Since there has been some controversy about the joining syntax used in
> PEP 428 (filesystem path objects), I would like to run an informal poll
> about it. Please answer with +1/+0/-0/-1 for each proposal:
> 
> - `p[q]` joins path q to path p

+0

> - `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

-0

+0 for .joinpath() as the only way, +1 for .joinpath() as an alternative.

Georg




More information about the Python-ideas mailing list