Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9e7cbda

Browse files
Issue #3015: _tkinter.create() now creates tkapp object with wantobject=1 by
default.
1 parent 3fc6d80 commit 9e7cbda

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ Core and Builtins
9191
Library
9292
-------
9393

94+
- Issue #3015: _tkinter.create() now creates tkapp object with wantobject=1 by
95+
default.
96+
9497
- Issue #10203: sqlite3.Row now truly supports sequence protocol. In particulr
9598
it supports reverse() and negative indices. Original patch by Claudiu Popa.
9699

Modules/_tkinter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2777,7 +2777,7 @@ Tkinter_Create(PyObject *self, PyObject *args)
27772777
try getting rid of it. */
27782778
char *className = NULL;
27792779
int interactive = 0;
2780-
int wantobjects = 0;
2780+
int wantobjects = 1;
27812781
int wantTk = 1; /* If false, then Tk_Init() doesn't get called */
27822782
int sync = 0; /* pass -sync to wish */
27832783
char *use = NULL; /* pass -use to wish */

0 commit comments

Comments
 (0)