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

Victor Stinner victor.stinner at gmail.com
Mon Apr 7 22:55:29 CEST 2014


2014-04-07 22:46 GMT+02:00 Antoine Pitrou <solipsis at pitrou.net>:
> Le 07/04/2014 22:38, Victor Stinner a écrit :
>> It would be nice to support A × B too, because it's much more
>> readable. You can configure a keyword to write arbitrary characters.
>
> Well, IMHO Python code should be writable without having to "configure your
> keyboard".

I proposed to support both syntaxes, so you can write "@" if you are
unable to write ×.

It's not because I'm unable to write chinese that Python should no
allow chinese characters in Python identifiers :-)

Victor


More information about the Python-Dev mailing list