About adding a static check(python::object) method to boost::python::numpy
- Linguagem predominante
- C++
- Estrelas
- 537
- Forks
- 223
- Merge médio
- 11h 22min
- PRs com merge (30d)
- 2
Descrição
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
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Start by examining the boost::python::numpy API and its existing type-checking methods, then compare the requested behavior with NumPy's PyArray_Check API. Done means a static check method is available for Python objects and tests distinguish NumPy array objects from non-array objects.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- cpp, numpy, python
- Domínio
- api
- Tipo de issue
- Funcionalidade
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100