xbmc/xbmc — comment on commit 4a42a82ddaead62f8b8f135b4fbb821930bab15c
File: xbmc/interfaces/python/XBPyThread.cpp line 338
By jimfcarroll:

Just to be clear, PyXBMCGUILock only releases the python GIL in order to acquire the GUI Lock (graphics context lock) ... but then requires it immediately. If you want to leave the Python GIL open for the duration of lines 320-338, this doesn't do that.