A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2010-January/097091.html below:

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

[Python-Dev] GIL required for _all_ Python calls? [Python-Dev] GIL required for _all_ Python calls?"Martin v. Löwis" martin at v.loewis.de
Thu Jan 7 21:27:09 CET 2010
> I've been wondering whether it's possible to release the GIL in the
> regex engine during matching.

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). Even if they stay in place -
if their contents changes, regex results may be confusing.

Regards,
Martin

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4