[Python-Dev] GIL required for _all_ Python calls?
solipsis at pitrou.net
Thu Jan 7 21:43:17 CET 2010
Martin v. Löwis <martin <at> v.loewis.de> writes:
> I don't think that's possible. The regex engine can also operate on
> objects whose representation may move in memory when you don't hold
> the GIL (e.g. buffers that get mutated).
Why is it a problem? If we get a buffer through the new buffer API, the object
should ensure that the representation isn't moved away until the buffer is
More information about the Python-Dev