diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2022-04-26 05:00:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-26 05:00:47 (GMT) |
commit | a568585069174cec35ce26cdf4d4862c634d9f6d (patch) | |
tree | 1e6c71dad85369ff21e2eb205a643fb0d21542db /Python/dynamic_annotations.c | |
parent | f41c16bf512778fca4bfabca887c4c303cc21896 (diff) | |
download | cpython-a568585069174cec35ce26cdf4d4862c634d9f6d.zip cpython-a568585069174cec35ce26cdf4d4862c634d9f6d.tar.gz cpython-a568585069174cec35ce26cdf4d4862c634d9f6d.tar.bz2 |
gh-91916: Fix test_runpy on non-UTF-8 locale (GH-91920)
If use a non-builtin codec, partially implemented in Python
(e.g. ISO-8859-15), a new RecursionError (with empty error message)
can be raised while handle a RecursionError.
Testing for error message was needed to distinguish
a recursion error from arbitrary RuntimeError. After introducing
RecursionError, it became unnecessary.
Diffstat (limited to 'Python/dynamic_annotations.c')
0 files changed, 0 insertions, 0 deletions