Robin Becker schrieb: > What is worrying is that in the extension init we're creating an > exception and version string etc and holding a pointer to them in C; is > it safe to use the same exception in different interpeters?
It is safe as long as the base exception classes are also shared across interpreters, otherwise, the hierarchical exception matching will break. The builtin exceptions are all "global" (i.e. shared across interpreters) (I believe). In any case, it looks like that the "multiple interpreters" feature of Python is just broken. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list