继续完善
added PyThreadStateLock.