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

2014-04-10 Thread Björn Lindqvist
2014-04-09 17:37 GMT+02:00 Nathaniel Smith n...@pobox.com: On Wed, Apr 9, 2014 at 4:25 PM, Björn Lindqvist bjou...@gmail.com wrote: 2014-04-08 14:52 GMT+02:00 Nathaniel Smith n...@pobox.com: On Tue, Apr 8, 2014 at 9:58 AM, Björn Lindqvist bjou...@gmail.com wrote: 2014-04-07 3:41 GMT+02:00

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

2014-04-09 Thread Nick Coghlan
On 8 April 2014 18:32, cjw fn...@ncf.ca wrote: Guido, I am sorry to read this. I shall be responding more completely in a day or two. In my view, @ and @@ are completely redundant. Both operations are already provided, * and **, in numpy.matrix. PEP 465 provides no clear indication as

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

2014-04-09 Thread Robert Kern
On 2014-04-09 12:12, Nick Coghlan wrote: On 8 April 2014 18:32, cjw fn...@ncf.ca wrote: Guido, I am sorry to read this. I shall be responding more completely in a day or two. In my view, @ and @@ are completely redundant. Both operations are already provided, * and **, in numpy.matrix.

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

2014-04-09 Thread Nathaniel Smith
On 9 Apr 2014 12:34, Robert Kern robert.k...@gmail.com wrote: On 2014-04-09 12:12, Nick Coghlan wrote: On 8 April 2014 18:32, cjw fn...@ncf.ca wrote: Guido, I am sorry to read this. I shall be responding more completely in a day or two. In my view, @ and @@ are completely redundant.

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

2014-04-09 Thread Björn Lindqvist
2014-04-08 14:52 GMT+02:00 Nathaniel Smith n...@pobox.com: On Tue, Apr 8, 2014 at 9:58 AM, Björn Lindqvist bjou...@gmail.com wrote: 2014-04-07 3:41 GMT+02:00 Nathaniel Smith n...@pobox.com: So, I guess as far as I'm concerned, this is ready to go. Feedback welcome:

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

2014-04-09 Thread Terry Reedy
On 4/8/2014 6:32 PM, cjw wrote: Larry Hastings https://mail.python.org/pipermail/python-dev/2014-April/133818.html wasn't far from the truth. Larry's note was about adding (redundant) *NON-ascii* unicode symbols, in particular × == \xd7, as in A × B, as a synonym for '@'. Various people have

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

2014-04-09 Thread Nathaniel Smith
On Wed, Apr 9, 2014 at 4:25 PM, Björn Lindqvist bjou...@gmail.com wrote: 2014-04-08 14:52 GMT+02:00 Nathaniel Smith n...@pobox.com: On Tue, Apr 8, 2014 at 9:58 AM, Björn Lindqvist bjou...@gmail.com wrote: 2014-04-07 3:41 GMT+02:00 Nathaniel Smith n...@pobox.com: So, I guess as far as I'm

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

2014-04-09 Thread cjw
Guido, I am sorry to read this. I shall be responding more completely in a day or two. In my view, @ and @@ are completely redundant. Both operations are already provided, * and **, in numpy.matrix. PEP 465 provides no clear indication as to how

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

2014-04-08 Thread Victor Stinner
2014-04-08 3:04 GMT+02:00 Steven D'Aprano st...@pearwood.info: Python used to have an alias for != and I for one miss in 3.x. I don't think TOOWTDI should be the last word in this debate. PEP 401 to the rescue: It occurs to me that since that Aprils' Fools joke is many years old now,

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

2014-04-08 Thread Björn Lindqvist
2014-04-07 3:41 GMT+02:00 Nathaniel Smith n...@pobox.com: So, I guess as far as I'm concerned, this is ready to go. Feedback welcome: http://legacy.python.org/dev/peps/pep-0465/ Couldn't you please have made your motivation example actually runnable? import numpy as np from numpy.linalg

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

2014-04-08 Thread Sturla Molden
Björn Lindqvist bjou...@gmail.com wrote: import numpy as np from numpy.linalg import inv, solve # Using dot function: S = np.dot((np.dot(H, beta) - r).T, np.dot(inv(np.dot(np.dot(H, V), H.T)), np.dot(H, beta) - r)) # Using dot method: S = (H.dot(beta) -

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

2014-04-08 Thread Björn Lindqvist
2014-04-08 12:23 GMT+02:00 Sturla Molden sturla.mol...@gmail.com: Björn Lindqvist bjou...@gmail.com wrote: import numpy as np from numpy.linalg import inv, solve # Using dot function: S = np.dot((np.dot(H, beta) - r).T, np.dot(inv(np.dot(np.dot(H, V), H.T)), np.dot(H, beta) -

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

2014-04-08 Thread Daniel Holth
On Tue, Apr 8, 2014 at 12:08 AM, Nick Coghlan ncogh...@gmail.com wrote: On 7 Apr 2014 21:58, MRAB pyt...@mrabarnett.plus.com wrote: On 2014-04-08 02:45, Guido van Rossum wrote: So what? Aren't we allowed to have fun? :-) Next thing you know, he'll be threatening people with The Comfy

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

2014-04-08 Thread Nick Coghlan
On 8 April 2014 21:24, Björn Lindqvist bjou...@gmail.com wrote: 2014-04-08 12:23 GMT+02:00 Sturla Molden sturla.mol...@gmail.com: Björn Lindqvist bjou...@gmail.com wrote: import numpy as np from numpy.linalg import inv, solve # Using dot function: S = np.dot((np.dot(H, beta) - r).T,

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

2014-04-08 Thread Thomas Wouters
On Apr 8, 2014 2:39 PM, Nick Coghlan ncogh...@gmail.com wrote: On 8 April 2014 21:24, Björn Lindqvist bjou...@gmail.com wrote: 2014-04-08 12:23 GMT+02:00 Sturla Molden sturla.mol...@gmail.com: Björn Lindqvist bjou...@gmail.com wrote: import numpy as np from numpy.linalg import inv,

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

2014-04-08 Thread Nathaniel Smith
On Tue, Apr 8, 2014 at 9:58 AM, Björn Lindqvist bjou...@gmail.com wrote: 2014-04-07 3:41 GMT+02:00 Nathaniel Smith n...@pobox.com: So, I guess as far as I'm concerned, this is ready to go. Feedback welcome: http://legacy.python.org/dev/peps/pep-0465/ Couldn't you please have made your

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

2014-04-08 Thread Ryan
Ooooh...that stings. Victor Stinner victor.stin...@gmail.com wrote: 2014-04-08 3:04 GMT+02:00 Steven D'Aprano st...@pearwood.info: Python used to have an alias for != and I for one miss in 3.x. I don't think TOOWTDI should be the last word in this debate. PEP 401 to the rescue: It

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

2014-04-08 Thread Antoine Pitrou
Le 08/04/2014 04:02, Steven D'Aprano a écrit : Many, many more people take part in the CPython core developer culture than just the core developers themselves. Look at the readership of this mailing list, which is open to the public and has regular posters who aren't core developers. In-jokes

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

2014-04-08 Thread Chris Angelico
On Wed, Apr 9, 2014 at 2:49 AM, Antoine Pitrou solip...@pitrou.net wrote: Le 08/04/2014 04:02, Steven D'Aprano a écrit : Many, many more people take part in the CPython core developer culture than just the core developers themselves. Look at the readership of this mailing list, which is open

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

2014-04-08 Thread Steven D'Aprano
On Tue, Apr 08, 2014 at 06:49:13PM +0200, Antoine Pitrou wrote: Le 08/04/2014 04:02, Steven D'Aprano a écrit : Many, many more people take part in the CPython core developer culture than just the core developers themselves. Look at the readership of this mailing list, which is open to the

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

2014-04-08 Thread Greg Ewing
Victor Stinner wrote: I started to implement the RFC 1924 to have a full support. 3 days later, when my code was working, I saw the date of the RFC... Do you still have the code? It needn't go to waste -- this would make a fine addition to Python's easter egg basket! -- Greg

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

2014-04-08 Thread Victor Stinner
2014-04-09 1:13 GMT+02:00 Greg Ewing greg.ew...@canterbury.ac.nz: Victor Stinner wrote: I started to implement the RFC 1924 to have a full support. 3 days later, when my code was working, I saw the date of the RFC... Do you still have the code? It needn't go to waste -- this would make a

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

2014-04-08 Thread cjw
Guido, I am sorry to read this. I shall be responding more completely in a day or two. In my view, @ and @@ are completely redundant. Both operations are already provided, * and **, in numpy.matrix. PEP 465 provides no clear indication as to how

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

2014-04-08 Thread Nathaniel Smith
On 9 Apr 2014 00:15, Greg Ewing greg.ew...@canterbury.ac.nz wrote: Victor Stinner wrote: I started to implement the RFC 1924 to have a full support. 3 days later, when my code was working, I saw the date of the RFC... Do you still have the code? It needn't go to waste -- this would make

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

2014-04-07 Thread Alexander Belopolsky
On Sun, Apr 6, 2014 at 11:13 PM, Benjamin Peterson benja...@python.orgwrote: 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,

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

2014-04-07 Thread Benjamin Peterson
On Mon, Apr 7, 2014, at 9:52, Alexander Belopolsky wrote: On Sun, Apr 6, 2014 at 11:13 PM, Benjamin Peterson benja...@python.orgwrote: 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

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

2014-04-07 Thread francis
So, I guess as far as I'm concerned, this is ready to go. Feedback welcome: http://legacy.python.org/dev/peps/pep-0465/ Hi, just curiosity: why is the second parameter 'o2' in: PyObject* PyObject_MatrixMultiply(PyObject *o1, PyObject o2) not a pointer to PyObject? Thanks in advance!

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

2014-04-07 Thread Robert Kern
On 2014-04-07 19:54, francis wrote: So, I guess as far as I'm concerned, this is ready to go. Feedback welcome: http://legacy.python.org/dev/peps/pep-0465/ Hi, just curiosity: why is the second parameter 'o2' in: PyObject* PyObject_MatrixMultiply(PyObject *o1, PyObject o2) not a

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

2014-04-07 Thread Nathaniel Smith
On Mon, Apr 7, 2014 at 7:54 PM, francis franci...@email.de wrote: So, I guess as far as I'm concerned, this is ready to go. Feedback welcome: http://legacy.python.org/dev/peps/pep-0465/ Hi, just curiosity: why is the second parameter 'o2' in: PyObject* PyObject_MatrixMultiply(PyObject

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

2014-04-07 Thread Victor Stinner
Hi, 2014-04-07 3:41 GMT+02:00 Nathaniel Smith n...@pobox.com: So, I guess as far as I'm concerned, this is ready to go. Feedback welcome: http://legacy.python.org/dev/peps/pep-0465/ I'm not convinced yet that there is enough usage of Python in mathematical world to modify the Python language

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

2014-04-07 Thread Antoine Pitrou
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. Regards Antoine.

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

2014-04-07 Thread Victor Stinner
2014-04-07 22:46 GMT+02:00 Antoine Pitrou solip...@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

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

2014-04-07 Thread Alexander Belopolsky
On Mon, Apr 7, 2014 at 4:55 PM, Victor Stinner victor.stin...@gmail.comwrote: I proposed to support both syntaxes, so you can write @ if you are unable to write ×. It won't be obvious for the readers of the code whether × stands for @ or for *. Both * and @ are ASCII approximations to proper

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

2014-04-07 Thread Nathaniel Smith
On Mon, Apr 7, 2014 at 9:38 PM, Victor Stinner victor.stin...@gmail.com wrote: Hi, 2014-04-07 3:41 GMT+02:00 Nathaniel Smith n...@pobox.com: So, I guess as far as I'm concerned, this is ready to go. Feedback welcome: http://legacy.python.org/dev/peps/pep-0465/ I'm not convinced yet that

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

2014-04-07 Thread Alexander Belopolsky
On Mon, Apr 7, 2014 at 1:11 PM, Benjamin Peterson benja...@python.org wrote: We can populate that struct with array-specific alternatives for PySequence/PyMappingMethods and eliminate the need for dynamically created array types to allocate those. Why would we want to do that? I assume

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

2014-04-07 Thread Benjamin Peterson
On Mon, Apr 7, 2014, at 14:22, Alexander Belopolsky wrote: On Mon, Apr 7, 2014 at 1:11 PM, Benjamin Peterson benja...@python.org wrote: We can populate that struct with array-specific alternatives for PySequence/PyMappingMethods and eliminate the need for dynamically created array

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

2014-04-07 Thread Alexander Belopolsky
On Mon, Apr 7, 2014 at 5:23 PM, Benjamin Peterson benja...@python.orgwrote: I can understand why creating new array types is good fun, but how is creating a new struct helpful? We can start by reviewing the reasons for having separate PyNumber/PySequence/PyMappingMethods structures. I

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

2014-04-07 Thread Benjamin Peterson
On Mon, Apr 7, 2014, at 14:33, Alexander Belopolsky wrote: On Mon, Apr 7, 2014 at 5:23 PM, Benjamin Peterson benja...@python.orgwrote: I can understand why creating new array types is good fun, but how is creating a new struct helpful? We can start by reviewing the reasons for

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

2014-04-07 Thread Ethan Furman
On 04/07/2014 01:38 PM, Victor Stinner wrote: I'm not sure that it's a good thing to modify the *language* for a specific domain. But you can do a lot without modify the language :-) That ship has already sailed. Features have already been added at the behest of the numerical community. --

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

2014-04-07 Thread Alexander Belopolsky
On Mon, Apr 7, 2014 at 5:03 PM, Nathaniel Smith n...@pobox.com wrote: no-one uses the pip -r requirements.txt system for deployment... I must be among no-one then. :-) Yet my systems don't leave much of a footprint on PyPI because we use PIP_DOWNLOAD_CACHE and internal PyPI mirrors.

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

2014-04-07 Thread Alexander Belopolsky
On Mon, Apr 7, 2014 at 5:03 PM, Nathaniel Smith n...@pobox.com wrote: It would be nice to support A × B too, because it's much more readable. You can configure a keyword to write arbitrary characters. For example, on Linux you can write × using Compose x x if you configured the Compose

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

2014-04-07 Thread Larry Hastings
On 04/07/2014 02:47 PM, Alexander Belopolsky wrote: On Mon, Apr 7, 2014 at 5:03 PM, Nathaniel Smith n...@pobox.com mailto:n...@pobox.com wrote: It would be nice to support A × B too, because it's much more readable. You can configure a keyword to write arbitrary characters.

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

2014-04-07 Thread Barry Warsaw
On Apr 07, 2014, at 05:47 PM, Alexander Belopolsky wrote: Python used to have an alias for != and I for one miss in 3.x. I don't think TOOWTDI should be the last word in this debate. PEP 401 to the rescue: % python3 Python 3.4.0 (default, Mar 22 2014, 22:51:25) [GCC 4.8.2] on linux Type

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

2014-04-07 Thread Benjamin Peterson
On Mon, Apr 7, 2014, at 14:58, Barry Warsaw wrote: On Apr 07, 2014, at 05:47 PM, Alexander Belopolsky wrote: Python used to have an alias for != and I for one miss in 3.x. I don't think TOOWTDI should be the last word in this debate. PEP 401 to the rescue: It occurs to me that since

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

2014-04-07 Thread Alexander Belopolsky
On Mon, Apr 7, 2014 at 5:58 PM, Larry Hastings la...@hastings.org wrote: I am -1**3001 on adding redundant non-ASCII operators to the language. -1**3001 -1 :-) ___ Python-Dev mailing list Python-Dev@python.org

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

2014-04-07 Thread Larry Hastings
On 04/07/2014 03:16 PM, Alexander Belopolsky wrote: On Mon, Apr 7, 2014 at 5:58 PM, Larry Hastings la...@hastings.org mailto:la...@hastings.org wrote: I am -1**3001 on adding redundant non-ASCII operators to the language. -1**3001 -1 :-)

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

2014-04-07 Thread Guido van Rossum
I'm now accepting the PEP, so you all can stop joking around. On Mon, Apr 7, 2014 at 3:37 PM, Larry Hastings la...@hastings.org wrote: On 04/07/2014 03:16 PM, Alexander Belopolsky wrote: On Mon, Apr 7, 2014 at 5:58 PM, Larry Hastings la...@hastings.org wrote: I am -1**3001 on adding

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

2014-04-07 Thread Greg Ewing
Alexander Belopolsky wrote: We can start by reviewing the reasons for having separate PyNumber/PySequence/PyMappingMethods structures. I believe that one of the reasons is that many types need to allocate only one of the three. That much is probably true. Numpy arrays, IIRC, allocate all

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

2014-04-07 Thread Steven D'Aprano
On Mon, Apr 07, 2014 at 03:04:18PM -0700, Benjamin Peterson wrote: On Mon, Apr 7, 2014, at 14:58, Barry Warsaw wrote: On Apr 07, 2014, at 05:47 PM, Alexander Belopolsky wrote: Python used to have an alias for != and I for one miss in 3.x. I don't think TOOWTDI should be the last word

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

2014-04-07 Thread Benjamin Peterson
On Mon, Apr 7, 2014, at 18:04, Steven D'Aprano wrote: On Mon, Apr 07, 2014 at 03:04:18PM -0700, Benjamin Peterson wrote: On Mon, Apr 7, 2014, at 14:58, Barry Warsaw wrote: On Apr 07, 2014, at 05:47 PM, Alexander Belopolsky wrote: Python used to have an alias for != and I for one miss

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

2014-04-07 Thread Barry Warsaw
On Apr 07, 2014, at 06:06 PM, Benjamin Peterson wrote: It occurs to me that since that Aprils' Fools joke is many years old now, we should remove it. -1 on removal. You can't be serious. Hey man, don't break all my code! wink -Barry ___

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

2014-04-07 Thread Guido van Rossum
So what? Aren't we allowed to have fun? :-) On Mon, Apr 7, 2014 at 6:06 PM, Benjamin Peterson benja...@python.orgwrote: On Mon, Apr 7, 2014, at 18:04, Steven D'Aprano wrote: On Mon, Apr 07, 2014 at 03:04:18PM -0700, Benjamin Peterson wrote: On Mon, Apr 7, 2014, at 14:58, Barry Warsaw

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

2014-04-07 Thread MRAB
On 2014-04-08 02:45, Guido van Rossum wrote: So what? Aren't we allowed to have fun? :-) Next thing you know, he'll be threatening people with The Comfy Chair! On Mon, Apr 7, 2014 at 6:06 PM, Benjamin Peterson benja...@python.org mailto:benja...@python.org wrote: On Mon, Apr 7, 2014, at

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

2014-04-07 Thread Steven D'Aprano
On Mon, Apr 07, 2014 at 06:06:17PM -0700, Benjamin Peterson wrote: On Mon, Apr 7, 2014, at 18:04, Steven D'Aprano wrote: On Mon, Apr 07, 2014 at 03:04:18PM -0700, Benjamin Peterson wrote: On Mon, Apr 7, 2014, at 14:58, Barry Warsaw wrote: On Apr 07, 2014, at 05:47 PM, Alexander

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

2014-04-07 Thread Chris Angelico
On Tue, Apr 8, 2014 at 12:02 PM, Steven D'Aprano st...@pearwood.info wrote: You can't be serious. I can't? Would it help if I sprinkle smileys and *winks* throughout my post? You can be serious, Steven, but it's more likely to happen if you *don't* use smileys... *not very serious* ChrisA

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

2014-04-07 Thread Nick Coghlan
On 7 Apr 2014 21:58, MRAB pyt...@mrabarnett.plus.com wrote: On 2014-04-08 02:45, Guido van Rossum wrote: So what? Aren't we allowed to have fun? :-) Next thing you know, he'll be threatening people with The Comfy Chair! You may want to take a look at the packaging metadata 2.0 spec ;) I

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

2014-04-06 Thread Nathaniel Smith
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

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

2014-04-06 Thread Benjamin Peterson
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