Skip to content

gh-118760: Fix errors in calling Tkinter bindings on Windows - #118782

Merged
serhiy-storchaka merged 3 commits into
python:mainfrom
serhiy-storchaka:tkinter-parse-events
May 15, 2024
Merged

serhiy-storchaka merged 3 commits into
python:mainfrom
serhiy-storchaka:tkinter-parse-events

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented May 8, 2024 •

Copy link
Copy Markdown
Member

For unknown reasons some arguments are passed as a 1-tuple containing a Tcl_Obj with type "string" and value "0" what wantobjects is 2.

For unknown reasons some arguments are passed as a 1-tuple containing a
Tcl_Obj with type "string" and value "0" what wantobjects is 2.
@serhiy-storchaka
serhiy-storchaka merged commit 5b88d95 into python:main May 15, 2024
@miss-islington-app

Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 15, 2024
…ythonGH-118782)

For unknown reasons some arguments for Tkinter binding can be created
as a 1-tuple containing a Tcl_Obj when wantobjects is 2.
(cherry picked from commit 5b88d95)

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

bedevere-app Bot commented May 15, 2024

Copy link
Copy Markdown

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

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label May 15, 2024
serhiy-storchaka added a commit that referenced this pull request May 15, 2024
…H-118782) (GH-119072)

For unknown reasons some arguments for Tkinter binding can be created
as a 1-tuple containing a Tcl_Obj when wantobjects is 2.
(cherry picked from commit 5b88d95)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
…ythonGH-118782)

For unknown reasons some arguments for Tkinter binding can be created
as a 1-tuple containing a Tcl_Obj when wantobjects is 2.
@serhiy-storchaka
serhiy-storchaka deleted the tkinter-parse-events branch June 20, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant