What version (or hash if on master) of pybind11 are you using?
pybind11-2.11.1
Problem description
I created two different arrays in C++ and exposed them to Python using def_buffer. However, I discovered that the id of these two arrays is the same when they have the same size. The id only differs if the sizes of the arrays are different.
What version (or hash if on master) of pybind11 are you using?
pybind11-2.11.1
Problem description
I created two different arrays in C++ and exposed them to Python using def_buffer. However, I discovered that the id of these two arrays is the same when they have the same size. The id only differs if the sizes of the arrays are different.
Reproducible example code