On May 5, 9:37 am, Szabolcs Horvát <[EMAIL PROTECTED]> wrote: > 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, > anyway.
Sorry, I meant associative only, not commutative. -- http://mail.python.org/mailman/listinfo/python-list