]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] 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:39:56 +0000 (11:39 +0200)
committerGitHub <noreply@github.com>
Mon, 24 Jun 2024 09:39:56 +0000 (09:39 +0000)
commitd5a8d4b19670b930cd6cb5e18e267877ebe49233
tree7f2a1b7eed26330b9b81ec7c2ca53d4d96c88296
parent3afb856dda9fed82e3d2f75fc54d063d26a41160
[3.12] gh-119614: Fix truncation of strings with embedded null characters in Tkinter (GH-120909) (GH-120939)

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