[Python-Dev] GIL required for all Python calls? (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Thu Jan 7 21:59:29 CET 2010
- Previous message: [Python-Dev] GIL required for _all_ Python calls?
- Next message: [Python-Dev] relation between Python.asdl and Tools/compiler/ast.txt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I've been wondering whether it's possible to release the GIL in the regex engine during matching.
Ok, here is another problem: SRE_OP_REPEAT uses PyObject_MALLOC, which requires the GIL (it then also may call PyErr_NoMemory, which also requires the GIL).
Regards, Martin
- Previous message: [Python-Dev] GIL required for _all_ Python calls?
- Next message: [Python-Dev] relation between Python.asdl and Tools/compiler/ast.txt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]