[sr-dev] git:master:0ffe157b: app_python3: refactor GIL and thread state handling