[Python-Dev] GIL required for all Python calls? (original) (raw)
MRAB python at mrabarnett.plus.com
Thu Jan 7 04:07:56 CET 2010
- Previous message: [Python-Dev] --enabled-shared broken on freebsd5?
- Next message: [Python-Dev] GIL required for _all_ Python calls?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I've been wondering whether it's possible to release the GIL in the regex engine during matching.
I know that it needs to have the GIL during memory-management calls, but does it for calls like Py_UNICODE_TOLOWER or PyErr_SetString? Is there an easy way to find out? Or is it just a case of checking the source files for mentions of the GIL? The header file for PyList_New, for example, doesn't mention it!
Thanks
- Previous message: [Python-Dev] --enabled-shared broken on freebsd5?
- Next message: [Python-Dev] GIL required for _all_ Python calls?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]