[issue43488] Added new methods to vector.py

Raymond Hettinger report at bugs.python.org
Sat Mar 13 16:25:40 EST 2021


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

I don't think this should be added.  The whole point of vector.py was to be a simple educational demo of a Python class its special methods work.  It was not intended to grow more features or ever be used in production.  

Also, vector-to-vector multiplication, division, and floordiv would only make sense for an elementwise array class.  This class focuses on standard vector operations.  If anything, what is missing is a method for a dot product.

Thank you for submitting a PR, but it is going to be declined from the reasons listed about.

----------
assignee:  -> rhettinger
nosy: +rhettinger
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43488>
_______________________________________


More information about the Python-bugs-list mailing list