COSMIT
PY3K use six.string_type
OPTIM + ENH simplify mix string and number check