PyThreader Core ===============