is this definitely str, or basestring?