Re: [Python-Dev] Multiple interpreters not compatible with current thread module

2005-06-20 Thread Michael Hudson
Michael Hudson <[EMAIL PROTECTED]> writes: > I'm not expecting anyone else to think hard about this on recent form, > so I'll think about it for a bit and then fix it in the way that seems > best after that. Feel free to surprise me. And so that's what I did. I think I got this right, but threa

Re: [Python-Dev] Multiple interpreters not compatible with current thread module

2005-06-16 Thread Michael Hudson
Jeremy Maxfield <[EMAIL PROTECTED]> writes: > The current threadmodule.c does not seem to correctly support multiple > (sub) interpreters. This would seem to be an accurate statement. A short history: The GILState functions were implemented. The way they work is that when you call PyGILState_E

[Python-Dev] Multiple interpreters not compatible with current thread module

2005-05-17 Thread Jeremy Maxfield
The current threadmodule.c does not seem to correctly support multiple (sub) interpreters. This became apparent when using jep - (a Java/Python bridge) and also seems to cause problems with mod_python. The incompatibility began in Python version 2.3.5 and has been traced to changes to the 2.4 thr