]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129173: refactor `PyCodec_BackslashReplaceErrors` into separate functions (#129895)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Mon, 3 Mar 2025 12:58:15 +0000 (13:58 +0100)
committerGitHub <noreply@github.com>
Mon, 3 Mar 2025 12:58:15 +0000 (13:58 +0100)
commit3146a25e97700374ec470361889f0adac6cedbec
tree259a6527568ee01fc3850db44eee03099db57b48
parent04091c083340dde7d4eeb6d945c70f3b37d88f85
gh-129173: refactor `PyCodec_BackslashReplaceErrors` into separate functions (#129895)

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