boostorg / boostorg/python

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

Offen
#219 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
537
Forks
223
Ø Merge
11 Std. 22 Min.
Gemergte PRs (30 T.)
2

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.