lang/python310: Update to 3.10.17
(cherry picked from commit 45d50f568f89e1d4f7935c7d6ac5ed9d9f2766b7)