Closed UZ9 closed 10 months ago
(From your comment on the forum)
encounters the TypeError. Seems like there was no rmul for the vector class, with the comment "in cython order of arguments is arbitrary, rmul doesn't exist."
This seems strange considering Cython 3.0.2 is already installed, but something likely worth mentioning in the documentation.
I have Cpython 3.0.5 installed, and I would expect this to "just work" (and be faster) without your patch. Did you find out why having Cython 3.0.x around doesn't help this issue?
Closing/reopening to run the the tests on Python 3.12
Thanks, @UZ9, merging!
The current codebase has this comment regarding the lack of
__rmul__
incyvector.pyx
:However, when cython is not installed the following will throw a
TypeError
due to a lack of__rmul
:This contradicts the following statement in the README:
The commit attached to this PR ensures the
__rmul__
seen invector.py
is also present incypython.pyx
.Relevant discussion on forum: https://groups.google.com/g/vpython-users/c/6ojA7FxcILA