no basestring in python 3