[Numpy-discussion] proposing a "beware of [as]matrix()" warning
Wed Apr 28 11:50:00 CDT 2010
Robert Kern <firstname.lastname@example.org> 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"
http://www.python.org/dev/peps/pep-0225/ was considered and rejected.
But that was in 2000...
>> While I don't have any spare cycles to push it forward and we are
>> already far along on the NumPy to 3.0, I had wondered if we couldn't
>> use the leverage of Python core developers wanting NumPy to be ported
>> to Python 3 to actually add a few more infix operators to the language.
I don't think that stands a chance: http://www.python.org/dev/peps/pep-3003/
»Time flies like an arrow, fruit flies like a Banana.«
PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C
More information about the NumPy-Discussion