[Numpy-discussion] proposing a "beware of [as]matrix()" warning

David Warde-Farley dwf@cs.toronto....
Wed Apr 28 12:53:51 CDT 2010


 Nikolaus Rath wrote:
> Robert Kern <robert.kern@gmail.com> writes:
>   
>>> Overloading '*' and '**' while convenient does have consequences.   It
>>> would be nice if we could have a few more infix operators in Python to
>>> allow separation of  element-by-element calculations and "dot-product"
>>> calculations.
>>>       
>
> http://www.python.org/dev/peps/pep-0225/ was considered and rejected.
> But that was in 2000...
>   
See also:
http://www.python.org/dev/peps/pep-0211/
http://mail.python.org/pipermail/python-dev/2008-November/083493.html
(The .html link Fernando gives is dead but the reST source is below in 
that message)



More information about the NumPy-Discussion mailing list