class _hash_limit_string(compat.text_type):
A string subclass that can only be hashed on a maximum amount of unique values.
This is used for warnings so that we can send out parameterized warnings without the __warningregistry__ of the module, or the non-overridable "once" registry within warnings.py, overloading memory,