[Python-ideas] [RFC] draft PEP: Dedicated infix operators for matrix multiplication and matrix power

Bruce Leban bruce at leapyear.org
Sat Mar 15 05:09:02 CET 2014


I think making @ right associative would make this less suitable for other
uses. Example

someclassobject @ somevalue @ somevalue

won't work with right-associativity. Plus precedence of mixing right and
left can be confusing.

--- Bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140314/7594b8b5/attachment.html>


More information about the Python-ideas mailing list