[Python-Dev] Problem with Py_NewInterpreter (original) (raw)
Guido van Rossum guido@python.org
Mon, 15 Oct 2001 11:11:45 -0400
- Previous message: [Python-Dev] Problem with Py_NewInterpreter
- Next message: [Python-Dev] conditional expressions?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Don't know why it got posted where it did (in the mysql-python forum on SF), but some guy posted a question/problem about executing PyNewInterpreter twice. I have no experience with this sort of stuff, so I figured I'd forward it along to the people with the smarts in this area:
http://sourceforge.net/forum/message.php?msgid=249171 (Need I say, "don't respond to me"? ;-)
I've posted a quick pointer to Demo/pysvr which shows how to use Py_NewInterpreter().
It is possible that mysql contains global state that can't be shared between interpreters; mysql may have to be changed to fix that. But I don't know.
--Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] Problem with Py_NewInterpreter
- Next message: [Python-Dev] conditional expressions?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]