]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-119614: Fix truncation of strings with embedded null characters in Tkinter (GH...
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 24 Jun 2024 09:17:25 +0000 (12:17 +0300)
committerGitHub <noreply@github.com>
Mon, 24 Jun 2024 09:17:25 +0000 (12:17 +0300)
commitc38e2f64d012929168dfef7363c9e48bd1a6c731
tree2701e60be8291d9bb1e21b4ea1b0274590a206af
parentfc297b4ba4c61febeb2d8f5d718f2955c6bbea0a
gh-119614: Fix truncation of strings with embedded null characters in Tkinter (GH-120909)

Now the null character is always represented as \xc0\x80 for
Tcl_NewStringObj().
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