You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DeprecationWarning: __array__ implementation doesn't accept a copy keyword #706
<python-input-0>:4: DeprecationWarning: __array__ implementation doesn't accept a copy keyword, so passing copy=False failed. __array__ must implement 'dtype' and 'copy' keyword arguments. To learn more, see the migration guide https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword
array([Fraction(1, 2), Fraction(2, 3)], dtype=object)
Activity
cjdoris commentedon Oct 26, 2025
Thanks yeah absolutely we should support the
copykeyword argument to__array__.