Hello: As far as I know, there is not a language support user defined operator overloading. Python3 can overloading belowed operators. - negated + unchanged
- minus + add * multiplication / division // true division % remainder ** power (Do I miss something ?) If we can overloading these operators, why we can't overloading other operators? (like .* often used in matrix, U in set operation) Regards! Peipei _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com