Raphael Coeffic wrote: > Hi! > > i just found some text in the python documentation that might hint us at > potential issues in the ivr plugin: > http://www.python.org/doc/api/initialization.html#l2h-825 > > Here it stands that we should be using Py_NewInterpreter together with > PyGILState_* functions. The trouble is that not only the ivr plug-in > itself are using those functions, but also a lot of built-in python > modules (IO, socket API, etc...). > > Does somebody remember what was the intent with creating new python > interpreters? it can get quite handy to run background threads in python, e.g. running some python server for interfacing, querying call status, creating calls, or doing some other background task. I have used that without problems, I thought that the global interpreter lock is acquired before executing anything anyway.
Stefan > > Cheers, > -Raphael. > _______________________________________________ > Semsdev mailing list > [email protected] > http://lists.iptel.org/mailman/listinfo/semsdev -- Stefan Sayer VoIP Services [EMAIL PROTECTED] www.iptego.com iptego GmbH Am Borsigturm 40 13507 Berlin Germany Amtsgericht Charlottenburg, HRB 101010 Geschaeftsfuehrer: Alexander Hoffmann _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
