add pyme support for python2.6