]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-134119: Fix crash from calling next() on exhausted template iterator (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 17 May 2025 19:48:54 +0000 (21:48 +0200)
committerGitHub <noreply@github.com>
Sat, 17 May 2025 19:48:54 +0000 (19:48 +0000)
commit1ba5e65b76eb0d745e63691bda7206e66f72a961
treed364e3cdaa0073ae30d6f561a7ce140e36e73116
parentcca18fcbe817a24bfeeb7f15a00158f8214e010d
[3.14] gh-134119: Fix crash from calling next() on exhausted template iterator (GH-134120) (#134153)

gh-134119: Fix crash from calling next() on exhausted template iterator (GH-134120)
(cherry picked from commit fc7f4c36664314393bd4c30355e21bd7aeac524d)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Lib/test/test_string/test_templatelib.py
Misc/NEWS.d/next/Core_and_Builtins/2025-05-16-20-59-12.gh-issue-134119.w8expI.rst [new file with mode: 0644]
Objects/templateobject.c