[Python-Dev] Feature Request: Py_NewInterpreter to create separate GIL (branch)

Talin talin at acm.org
Mon Nov 6 07:27:52 CET 2006


Guido van Rossum wrote:
> I don't know how you define simple. In order to be able to have
> separate GILs  you have to remove *all* sharing of objects between
> interpreters. And all other data structures, too. It would probably
> kill performance too, because currently obmalloc relies on the GIL.

Nitpick: You have to remove all sharing of *mutable* objects. One day, 
when we get "pure" GC with no refcounting, that will be a meaningful 
distinction. :)

-- Talin


More information about the Python-Dev mailing list