News for hackers. Stuff that matters.
Re:Python 3 Features by hk__2 on Sunday June 29, 2014 @02:03PM (#7961864)
That’s true, but you already can overload other operators like __mul__ to have `x.T() * M * x`.
Re:Python 3 Features by dagw on Sunday June 29, 2014 @04:10PM (#7962223)
__mul__ has been used for elementwise multiplication in numerical python for the past 18 years or so. You can argue if it was a good choice or not, but it's a bit too entrenched to change now.