Hi all, just a heads up, the PR to change the default integer is merged on main. This may cause issues, especially with Cython code because `np.int_t` cannot be reasonably defined anymore.
Other code may also want to vet usage of "long" in any variation. Much code (like SciPy) simply supports any integer input, although even there integer output may be relevant. New NumPy defines `NPY_DEFAULT_INT` to be able to branch at runtime for backward compatiblity you could use: #ifndef NPY_DEFAULT_INT #define NPY_DEFAULT_INT NPY_LONG #endif Unfortunately, I expect this to be a bit painful, please let us know if it is too painful for some reason. But OTOH it has been a recurring surprise and is a common reason for linux written software to not run on windows. - Sebastian _______________________________________________ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com