diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-04-26 05:45:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-26 05:45:24 (GMT) |
commit | 653a66668df818aafb76f968247cb02d2f9cd405 (patch) | |
tree | ca85f0876f3b575836772c55c725c1dafb9c9359 /Lib/multiprocessing/util.py | |
parent | 38be31e61e092b07243dad1622ef61177c12ed55 (diff) | |
download | cpython-653a66668df818aafb76f968247cb02d2f9cd405.zip cpython-653a66668df818aafb76f968247cb02d2f9cd405.tar.gz cpython-653a66668df818aafb76f968247cb02d2f9cd405.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.
(cherry picked from commit a568585069174cec35ce26cdf4d4862c634d9f6d)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/multiprocessing/util.py')
0 files changed, 0 insertions, 0 deletions