]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-142433: Move deref to below the error when checking for laststring (#142402)
authorAZero13 <gfunni234@gmail.com>
Wed, 10 Dec 2025 15:41:52 +0000 (10:41 -0500)
committerGitHub <noreply@github.com>
Wed, 10 Dec 2025 15:41:52 +0000 (16:41 +0100)
commit785268fdceb0d0fe217aed1d6e43e0231c0e50c3
tree1a07df06b3ab035b3f1b89197cc817e039a3f3ec
parentc76cfe8d89c5f44b6a012d24c0e14b45eab16b90
gh-142433: Move deref to below the error when checking for laststring (#142402)

Move deref of laststring to below the error checking so the deref
is applied after the object in strings is replaced.
Misc/NEWS.d/next/Core_and_Builtins/2025-12-08-17-34-57.gh-issue-142402.iV0ON3.rst [new file with mode: 0644]
Objects/templateobject.c