Greg Ewing wrote: > [EMAIL PROTECTED] wrote: > > > - creating many sub-interpreters (Py_NewInterpreter) with a thread > > state each > > > > Or > > > > - creating one interpreter with many thread states (PyThreadState_New) > > My understanding is that using multiple interpeters isn't > really supported properly, despite there being apparent > support in the API. So I suggest using a single interpeter > with multiple threads.
Huh. Mod_python uses multiple interpreters and within each interpreter could be running multiple threads at one time corresponding to different incoming HTTP requests. It hasn't helped though that a bug was introduced in Python 2.3.5/4.0 which has been causing grief for some users creating additional threads from within Python code itself. :-( http://sourceforge.net/tracker/index.php?func=detail&aid=1163563&group_id=5470&atid=105470 -- http://mail.python.org/mailman/listinfo/python-list