boostorg / boostorg/python

About adding a static check(python::object) method to boost::python::numpy

Aperta
#219 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
537
Fork
223
Merge medio
11h 22m
PR unite (30g)
2

Descrizione

I am currently using boost::python::numpy module which make binding from c++ to python very easy.
Sometimes, I need to check whether the python object is a PyArray type. However, I could not find a similar method like PyArray_Check (raw numpy_api) in boost::python::numpy, so I am wondering could we add a static check method to boost::python::numpy.

Thanks.
Aimin

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.