main/python: upgrade to 2.7.9

ref #3618