multiple python versions on Gentoo
With the unmasking of python-2.7.1 on ~testing architectures, Gentoo users are getting the opportunity to see the last of the 2.x series in action. For most of us, a stable python is very important, so don't be ashamed of going back to 2.6 with "eselect python set python2.6" after upgrading @world. Actually, let's make sure that 2.6 gets an equal treatment with 2.7 when python modules are installed in other packages. Add this to your make.conf:
- USE_PYTHON="2.6 2.7 3.1"
Now run python-updater and revdep-rebuild (just to be sure). I've seen one package escape the checks so you need to emerge it manually: dev-libs/libxml2. After doing all this I don't see any problems with 2.7. Django runs just fine on it ;-)
P.S.: save yourself some trouble and don't remove '3.1' from USE_PYTHON even if you don't intend to use it.