--- ./gr_feval.i 2011-02-04 09:24:06.153283011 -0500 +++ /home/tja/Research/energy/detector/GR_ORIGINAL/gnuradio-3.3.0/gnuradio-core/src/lib/general/gr_feval.i 2010-06-01 20:57:52.000000000 -0400 @@ -70,11 +70,11 @@ // class that ensures we acquire and release the Python GIL class ensure_py_gil_state { PyGILState_STATE d_gstate; public: - ensure_py_gil_state() { PyEval_InitThreads(); d_gstate = PyGILState_Ensure(); } + ensure_py_gil_state() { d_gstate = PyGILState_Ensure(); } ~ensure_py_gil_state() { PyGILState_Release(d_gstate); } }; %}