[Python-Dev] PEP 465: A dedicated infix operator for matrix multiplication

Benjamin Peterson benjamin at python.org
Mon Apr 7 05:13:26 CEST 2014


On Sun, Apr 6, 2014, at 18:41, Nathaniel Smith wrote:
> Hi all,
> 
> I've just finished updating PEP 465 with resolutions to the various
> issues that were raised during the python-ideas thread about it. (The
> main changes since that thread are that @@ has been removed, and we
> now definitely propose that @ have the same precedence and
> associativity as *.)
> 
> I believe this leaves only one open question, which is where exactly
> to stick the new matmul slots into PyTypeObject. This is the kind of
> fiddly detail that can easily be settled later if the PEP is accepted,
> though.

I don't see what it shouldn't be in PyNumberMethods. Surely, we're not
going to get a flood of requests for more matrix operators, are we? :)


More information about the Python-Dev mailing list