The Wayback Machine - https://web.archive.org/web/20260304164820/https://github.com/python/cpython/pull/120909
Skip to content

gh-119614: Fix truncation of strings with embedded null characters in Tkinter#120909

Merged
serhiy-storchaka merged 2 commits intopython:mainfrom
serhiy-storchaka:tkinter-embedded-null
Jun 24, 2024
Merged

gh-119614: Fix truncation of strings with embedded null characters in Tkinter#120909
serhiy-storchaka merged 2 commits intopython:mainfrom
serhiy-storchaka:tkinter-embedded-null

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jun 23, 2024 •

Now the null character is always represented as \xc0\x80 for Tcl_NewStringObj().

…ers in Tkinter

Now the null character is always represented as \xc0\x80 for
Tcl_NewStringObj().
@serhiy-storchaka serhiy-storchaka merged commit c38e2f6 into python:main Jun 24, 2024
@miss-islington-app
Copy link

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

@serhiy-storchaka serhiy-storchaka deleted the tkinter-embedded-null branch June 24, 2024 09:17
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 24, 2024
…ers in Tkinter (pythonGH-120909)

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

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Jun 24, 2024

GH-120938 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jun 24, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 24, 2024
…ers in Tkinter (pythonGH-120909)

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

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Jun 24, 2024

GH-120939 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Jun 24, 2024
serhiy-storchaka added a commit that referenced this pull request Jun 24, 2024
…ters in Tkinter (GH-120909) (GH-120939)

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

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull request Jun 24, 2024
…ters in Tkinter (GH-120909) (GH-120938)

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

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
mrahtz pushed a commit to mrahtz/cpython that referenced this pull request Jun 30, 2024
…ers in Tkinter (pythonGH-120909)

Now the null character is always represented as \xc0\x80 for
Tcl_NewStringObj().
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
…ers in Tkinter (pythonGH-120909)

Now the null character is always represented as \xc0\x80 for
Tcl_NewStringObj().
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
…ers in Tkinter (pythonGH-120909)

Now the null character is always represented as \xc0\x80 for
Tcl_NewStringObj().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant