Gentoo Not Upgrading To Python 2.6
17:27 Friday, 4 September 2009
Gentoo recently switched to make python 2.6 the default python. This means that mod_python and mod_wsgi will be re-compiled against 2.6. Which means that any python modules you’re using with Apache will also need to be re-compiled against the new version or you’ll get version mis-match errors. If you’d rather not go through all that work you can tell portage not to upgrade with the following line in /etc/portage/package.mask:
> python-2.6
That says mask Python versions greater than 2.6. OK back to work.