[Python-Dev] GIL required for _all_ Python calls?

Stefan Behnel stefan_ml at behnel.de
Thu Jan 7 14:30:16 CET 2010

Guido van Rossum, 07.01.2010 05:29:
> A better rule would be "you may access the memory buffer in a PyString
> or PyUnicode object with the GIL released as long as you own a
> reference to the string object." Everything else is out of bounds (or
> not worth the bother).

Is that a "yes" regarding the OP's original question about releasing the 
GIL during regexp searches?


More information about the Python-Dev mailing list