Original commit message from CVS: * codegen/codegen.py: Added pyg_[begin|end]_allow_threads before and after call of C methods in python methods wrappers. This should get rid of more threading issues... Should we also do that for function calls ?