[NumPy-Tickets] [NumPy] #2203: Runtime Error while twice usage
NumPy Trac
numpy-tickets@scipy....
Fri Aug 17 10:00:14 CDT 2012
#2203: Runtime Error while twice usage
------------------------+---------------------------------------------------
Reporter: Lukasz16a | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: numpy.core | Version: 1.6.2
Keywords: |
------------------------+---------------------------------------------------
The following simple code causes runtime error:
#include <Python.h>
#include <numpy/arrayobject.h>
void f() {
import_array() ;
}
int main() {
for(int i=0 ; i<2 ; i++) {
Py_Initialize() ;
f() ;
Py_Finalize() ;
}
}
The problem is loading numpy.core... I tested it on Visual Studio 2010 at
Windows 7 Professional x64.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/2203>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list