]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] 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:52:04 +0000 (18:52 +0200)
committerGitHub <noreply@github.com>
Mon, 29 Jun 2026 16:52:04 +0000 (16:52 +0000)
commite08e00383ff92566fb0a14bdf620c3f082bd1443
tree55c1b11a7e5f20f010bd5cdb642db7909977f4be
parent05cf0072a71790c9229c1fb89914b1a46abccc86
[3.15] gh-152228: Fix an assertion failure in `str.replace` under a limited memory case (GH-152229) (#152615)

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