[C++-sig] Using Numpy C API with boost python numeric

Александров Петр petr_aleksandrov at mail.ru
Thu Jan 16 14:36:27 CET 2014


Is it safe to use direct Numpy C API in Boost Python module together 
with Boost Python numeric::array (also using numpy)?
The function "import_array" must be called before using 
PyArray_SimpeNew. Will it cause problems if the function "import_array" 
will be called twice in one module?


More information about the Cplusplus-sig mailing list