summaryrefslogtreecommitdiffstats
path: root/Python/dynamic_annotations.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-04-26 05:00:47 (GMT)
committerGitHub <noreply@github.com>2022-04-26 05:00:47 (GMT)
commita568585069174cec35ce26cdf4d4862c634d9f6d (patch)
tree1e6c71dad85369ff21e2eb205a643fb0d21542db /Python/dynamic_annotations.c
parentf41c16bf512778fca4bfabca887c4c303cc21896 (diff)
downloadcpython-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