mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-01-20 13:43:27 +08:00
- `PyArray_NewFromDescr_` should have been using `Py_intptr_t const *` -18a6e3e505/numpy/core/src/multiarray/ctors.h (L5-L8)- `PyArray_GetArrayParamsFromObject_` should be using `NPY_BOOL` -18a6e3e505/numpy/core/src/multiarray/ctors.c (L1350-L1355)- https://docs.scipy.org/doc/numpy-1.13.0/reference/c-api.dtype.html#c.npy_bool - `PyArray_DescrNewFromType` is at offset 96 -36e017194c/numpy/core/code_generators/numpy_api.py (L141)- `array_t` constructor that takes a size and a pointer should take `ssize_t`. - Fixes #1599