python 3 threading update