[Python-Dev] SRE should release the GIL (was: no subject)

Fredrik Lundh fredrik at pythonware.com
Fri Nov 25 09:23:25 CET 2005


Martin v. Löwis wrote:

> Formally: no; it access a Python string/Python unicode object all
> the time.
>
> Now, since all the shared objects it accesses are immutable, likely
> no harm would be done releasing the GIL. I think SRE was originally
> also intended to operate on array.array objects; this would have
> caused bigger problems.

SRE can operate on anything that implements the buffer interface.

</F>





More information about the Python-Dev mailing list