Andy O'Meara wrote:
I would definitely agree if there was a context (i.e. environment) object passed around then perhaps we'd have the best of all worlds.
Moreover, I think this is probably the *only* way that totally independent interpreters could be realized. Converting the whole C API to use this strategy would be a very big project. Also, on the face of it, it seems like it would render all existing C extension code obsolete, although it might be possible to do something clever with macros to create a compatibility layer. Another thing to consider is that passing all these extra pointers around everywhere is bound to have some effect on performance. The idea mightn't go down too well if it slows things significantly in the case where you're only using one interpreter. -- Greg -- http://mail.python.org/mailman/listinfo/python-list