]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-119614: Fix truncation of strings with embedded null characters in Tkinter...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 24 Jun 2024 09:45:45 +0000 (11:45 +0200)
committerGitHub <noreply@github.com>
Mon, 24 Jun 2024 09:45:45 +0000 (09:45 +0000)
commit732c00550f20e73edeac03d9e222c4a719362649
treee1465166ee1bc4eee3000901d6465083f7d1f7a3
parent206028dba986f982a940377ab1cb8b8276301b82
[3.13] gh-119614: Fix truncation of strings with embedded null characters in Tkinter (GH-120909) (GH-120938)

Now the null character is always represented as \xc0\x80 for
Tcl_NewStringObj().
(cherry picked from commit c38e2f64d012929168dfef7363c9e48bd1a6c731)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_tcl.py
Lib/test/test_tkinter/test_misc.py
Misc/NEWS.d/next/Library/2024-06-23-17-50-40.gh-issue-119614.vwPGLB.rst [new file with mode: 0644]
Modules/_tkinter.c