]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-152228: Fix an assertion failure in `str.replace` under a limited memory...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 29 Jun 2026 16:49:17 +0000 (18:49 +0200)
committerGitHub <noreply@github.com>
Mon, 29 Jun 2026 16:49:17 +0000 (16:49 +0000)
commit79249038315b7bb8288a37415ca94e63753ec852
treed812cd4597c53938665a292fb46b14a2d50f8be3
parent7ad8bc2084af81d5db07fa6db61003e3d6fbdb18
[3.14] gh-152228: Fix an assertion failure in `str.replace` under a limited memory case (GH-152229) (#152616)

gh-152228: Fix an assertion failure in `str.replace` under a limited memory case (GH-152229)
(cherry picked from commit c5043dce1c6743682d93c71e937b95e7d27e0b35)

Co-authored-by: sobolevn <mail@sobolevn.me>
Lib/test/test_str.py
Misc/NEWS.d/next/Core_and_Builtins/2026-06-25-21-34-15.gh-issue-152228.a6K14K.rst [new file with mode: 0644]
Objects/unicodeobject.c