diff --git a/contrib/Makefile.python b/contrib/Makefile.python
index b000d34f863f646237733339c768de1c7476c5b7_Y29udHJpYi9NYWtlZmlsZS5weXRob24=..ec74ea542201d61134114aee481d70faa1faaf70_Y29udHJpYi9NYWtlZmlsZS5weXRob24= 100644
--- a/contrib/Makefile.python
+++ b/contrib/Makefile.python
@@ -1,4 +1,4 @@
-PYTHONVER=2.7.9
+PYTHONVER=2.7.10
 PYTHONNAME=python-
 PREFIX=$(HOME)/bin/prefix-$(PYTHONNAME)$(PYTHONVER)
 SYMLINKDIR=$(HOME)/bin
@@ -17,9 +17,9 @@
 	@echo '  symlink   - create a $$SYMLINKDIR/$(PYTHONNAME)$$PYTHONVER symlink'
 	@echo
 	@echo 'Example: create a temporary Python installation:'
-	@echo '  $$ make -f Makefile.python python PYTHONVER=2.6 PREFIX=/tmp/p26'
-	@echo '  $$ /tmp/p26/bin/python -V'
-	@echo '  Python 2.6'
+	@echo '  $$ make -f Makefile.python python PYTHONVER=${PYTHONVER} PREFIX=/tmp/p27'
+	@echo '  $$ /tmp/p27/bin/python -V'
+	@echo '  Python 2.7'
 	@echo
 	@echo 'Some external libraries are required for building Python: zlib bzip2 openssl.'
 	@echo 'Make sure their development packages are installed systemwide.'
@@ -27,7 +27,7 @@
 # debian: apt-get install zlib1g-dev libbz2-dev libssl-dev
 	@echo
 	@echo 'To build a nice collection of interesting Python versions:'
-	@echo '  $$ for v in 2.{6{,.1,.2,.9},7{,.8,.9}}; do'
+	@echo '  $$ for v in 2.{6{,.1,.2,.9},7{,.8,.10}}; do'
 	@echo '    make -f Makefile.python symlink PYTHONVER=$$v || break; done'
 	@echo 'To run a Mercurial test on all these Python versions:'
 	@echo '  $$ for py in `cd ~/bin && ls $(PYTHONNAME)2.*`; do'
diff --git a/contrib/buildrpm b/contrib/buildrpm
index b000d34f863f646237733339c768de1c7476c5b7_Y29udHJpYi9idWlsZHJwbQ==..ec74ea542201d61134114aee481d70faa1faaf70_Y29udHJpYi9idWlsZHJwbQ== 100755
--- a/contrib/buildrpm
+++ b/contrib/buildrpm
@@ -19,8 +19,8 @@
         ;;
     --withpython | --with-python)
         shift
-        PYTHONVER=2.7.9
-        PYTHONMD5=5eebcaa0030dc4061156d3429657fb83
+        PYTHONVER=2.7.10
+        PYTHONMD5=d7547558fd673bd9d38e2108c6b42521
         ;;
     --rpmbuilddir )
         shift