-
Committer:
Martín Soto
-
Date:
2010-04-05 14:48:06 UTC
-
Revision ID:
soto@masoft-20100405144806-ixgqn3x8clrp5szz
Fix GIL handling in the JavaScript to Python wrappers
All functions registered as callbacks with JavaScriptCore and using
functions in the Python interpreter should acquire the GIL. Several
weren't in practice. Thanks to <dauerbaustelle@jabber.lophus.org> (Bug
#554299) for pointing this out.
* javascriptcore.pyx (pyObjDeleteProperty, finalizeCb, pySeqHasProperty)
(pySeqDeleteProperty, pyMapGetPropertyNames, pyMapDeleteProperty): Add
a "with gil" clause.