Message387879
Further, "is not valid UTF-8" isn't quite true because the decoding is done with 'surrogatepass' set.
In practice I don't think many users will care which of the two exceptions they get for which inputs, but it's useful to know how broad your catch has to be if you're using load() on possibly-invalid inputs. |
|
Date |
User |
Action |
Args |
2021-03-01 20:10:48 | mattheww | set | recipients:
+ mattheww, rhettinger, eric.smith, docs@python, serhiy.storchaka |
2021-03-01 20:10:48 | mattheww | set | messageid: <1614629448.03.0.727139719651.issue43340@roundup.psfhosted.org> |
2021-03-01 20:10:48 | mattheww | link | issue43340 messages |
2021-03-01 20:10:47 | mattheww | create | |
|