On May 8, 3:09 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote:
> "Szabolcs Horvát" <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]| Gabriel Genellina wrote:
>
> | >
> | > Python doesn't require __add__ to be associative, so this should not be
> used as a general sum replacement.
> |
> | It does not _require_ this, but using an __add__ that is not commutative
> | and associative, or has side effects, would qualify as a serious misuse,
>
> seq + seq is not commutative ;-)

There's no point switching to a special algorithm unless a float is
detected.  What you're really arguing is seq + seq + float is not
commutative.  In either case we may have to hurt you. ;)
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to