complete Python2.6 support