python-packages: python2.6 fixes