Re: PyThreadState_Swap(NULL)

2006-08-20 Thread Bryan
(); interpreter = PyThreadState_Swap(NULL); what could another library do to make this fail? and is there anything i can do to make this work in all situations? thanks, bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: PyThreadState_Swap(NULL)

2006-08-19 Thread Jack Diederich
m apache module (mod_xxx). this > >> python c api code all works correctly under our test server and under > >> apache but only if mod_python isn't loaded. when apache loads > >> mod_python as shown in the http.conf snippet below, > >> PyThreadState_Swap(NULL)

Re: PyThreadState_Swap(NULL)

2006-08-19 Thread Bryan
under our test server and under >> apache but only if mod_python isn't loaded. when apache loads >> mod_python as shown in the http.conf snippet below, >> PyThreadState_Swap(NULL) in mod_xxx returns NULL. when the snippet of >> code in http.conf is commented out, it

Re: PyThreadState_Swap(NULL)

2006-08-19 Thread Jack Diederich
; apache but only if mod_python isn't loaded. when apache loads > mod_python as shown in the http.conf snippet below, > PyThreadState_Swap(NULL) in mod_xxx returns NULL. when the snippet of > code in http.conf is commented out, it works again. what do i have to > do to have mo

PyThreadState_Swap(NULL)

2006-08-18 Thread Bryan
_python as shown in the http.conf snippet below, PyThreadState_Swap(NULL) in mod_xxx returns NULL. when the snippet of code in http.conf is commented out, it works again. what do i have to do to have mod_xxx code work correctly when apache loads mod_python? failure case when apache loads