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
In Python 3.13.1 numpy uses objects without a working str and repr implementation as dictionary keys. It seems that the faulty element is numpy.ogrid.
It is not clear if this is intended or it is a bug but these objects cannot be converted to JavaScript where object keys must be convertible to string.
This occurs only when using the not-so-recommended direct conversion of a Python module to a JavaScript module:
constnp=pymport('numpy').toJS();
Everything works with proxify or when using get() methods.
The text was updated successfully, but these errors were encountered:
In Python 3.13.1
numpy
uses objects without a workingstr
andrepr
implementation as dictionary keys. It seems that the faulty element isnumpy.ogrid
.It is not clear if this is intended or it is a bug but these objects cannot be converted to JavaScript where object keys must be convertible to string.
This occurs only when using the not-so-recommended direct conversion of a Python module to a JavaScript module:
Everything works with
proxify
or when usingget()
methods.The text was updated successfully, but these errors were encountered: