]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129173: refactor `PyCodec_ReplaceErrors` into separate functions (#129893)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Tue, 25 Feb 2025 13:24:46 +0000 (14:24 +0100)
committerGitHub <noreply@github.com>
Tue, 25 Feb 2025 13:24:46 +0000 (14:24 +0100)
commitfa6a8140dd2a72da6df2a7dfafbf07045debf64d
tree213142ab0744676a1840884cb1618be29f52d347
parent4d3a7ea354a8ca7a9978f48e54399526d1b83f42
gh-129173: refactor `PyCodec_ReplaceErrors` into separate functions (#129893)

The logic of `PyCodec_ReplaceErrors` is now split into separate functions,
each of which handling a specific exception type.
Python/codecs.c