summary refs log tree commit diff
path: root/changelog.d/9985.misc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Simplify exception handling in is_ascii. (#9985)Dan Callahan2021-05-141-0/+1
We can get away with just catching UnicodeError here. ⋮ +-- ValueError | +-- UnicodeError | +-- UnicodeDecodeError | +-- UnicodeEncodeError | +-- UnicodeTranslateError ⋮ https://docs.python.org/3/library/exceptions.html#exception-hierarchy Signed-off-by: Dan Callahan <danc@element.io>