◐ Shell
clean mode source ↗

Message 217027 - Python tracker

try:
    data = data.encode("ascii")
except UnicodeEncodeError:
    raise TypeError("comparing unicode with non-ASCII characters is not supported")

?