not needed for >= python2.6