Stephan Hoyer added the comment:
Ping -- it would be great if someone could take a look at my PR. (I suspect it
needs more documentation, tips on where to put that would be appreciated.)
--
___
Python tracker
<https://bugs.python.org/issue30
New submission from Stephan Hoyer:
We are writing a system for overloading NumPy operations (see PR [1] and design
doc [2]) that is designed to copy and extend Python's system for overloading
binary operators.
The reference documentation on binary arithmetic [3] states:
> Note: If t
Stephan Hoyer added the comment:
Posted to python-ideas:
https://mail.python.org/pipermail/python-ideas/2017-April/045451.html
Mark -- just out of curiosity, could you point me to where this logic is
implemented in CPython's source?
This feels like something that could once been called
Stephan Hoyer added the comment:
> The design pattern that has problems here is a bit unorthodox to start with.
I agree. This was meant strictly as a simple example for illustrative purposes.
Steven D'Aprano's example from python-ideas may be a better one:
https://mail.python.
Stephan Hoyer added the comment:
Serhiy: thanks for the tip. I've updated my PR, which I think is now ready for
review.
--
___
Python tracker
<http://bugs.python.org/is
Stephan Hoyer added the comment:
Raymond, Tal and Guido -- do any of you work routinely with multi-dimensional
arrays?
In my experience as someone who uses Python everyday for numerical computing
(and has been doing so for many years), the need for an operator like this
comes up with some