exceptions.BytesWarning

exception BytesWarning

Base class for warnings about bytes and buffer related problems, mostly related to conversion from str or comparing to str.