id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 8675,numpy integers not accepted by Boost.Python,Andreas Kloeckner ,Ralf W. Grosse-Kunstleve,"When I pass a numpy integer (or really any object that's not exactly a PyIntObject) to a BPL-wrapped function, I get errors like the following: {{{ ArgumentError: Python argument types in CLAllocator.__call__(CLAllocator, numpy.int64) did not match C++ signature: __call__((anonymous namespace)::cl_allocator {lvalue}, unsigned long) }}} It would be great if, instead of checking for exact types, Boost.Python could use obj.__index__() or obj.__int__() to just get the integer value.",Bugs,new,To Be Determined,python USE GITHUB,Boost 1.53.0,Problem,,,inform@…