[Python-ideas] PEP 428 - object-oriented filesystem paths
Mike Meyer
mwm at mired.org
Mon Oct 8 22:05:25 CEST 2012
On Mon, Oct 8, 2012 at 2:14 PM, Stefan Krah <stefan at bytereef.org> wrote:
> Guido van Rossum <guido at python.org> wrote:
>> Personally I fear '+' much more -- to me, + can be used to add an
>> extension without adding a new directory level. If we *have* to
>> overload an operator, I'd prefer p/q over p[q] any day.
>
> '^' or '@' are used for concatenation in some languages. At least accidental
> confusion with xor is pretty unlikely.
@? I like it (@ is used for array indexing in some languages), but
don't see a special method for it.....
Maybe you meant **?
More information about the Python-ideas
mailing list