[mod_python] potential threading bug?

Jean-Baptiste Nivoit jbnivoit at gmail.com
Thu Sep 14 16:27:10 EDT 2006


Hi,

reading the source code to mod_python 3.2.10, i found that the "write" 
method is defined twice in request_methods, that's probably harmless.
And a second thing: in mod_python.c, in function get_interpreter, 
there's a "return NULL;" that exits without releasing the PyEval lock at 
line 213 when "interpreters" is not set (which never happens, i'm just 
mentionning it for the sake of correctness).
Anyway, that's just my reading of the source, i could be wrong.

	jb.


More information about the Mod_python mailing list