From 9e7cbda1ef4e8d104733f6de58753292bd79c8c1 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Wed, 28 May 2014 16:57:55 +0300 Subject: [PATCH] Issue #3015: _tkinter.create() now creates tkapp object with wantobject=1 by default. --- Misc/NEWS | 3 +++ Modules/_tkinter.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Misc/NEWS b/Misc/NEWS index dad1db8f87..810039e42c 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -91,6 +91,9 @@ Core and Builtins Library ------- +- Issue #3015: _tkinter.create() now creates tkapp object with wantobject=1 by + default. + - Issue #10203: sqlite3.Row now truly supports sequence protocol. In particulr it supports reverse() and negative indices. Original patch by Claudiu Popa. diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index e47e8f3d14..0b8e555693 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -2777,7 +2777,7 @@ Tkinter_Create(PyObject *self, PyObject *args) try getting rid of it. */ char *className = NULL; int interactive = 0; - int wantobjects = 0; + int wantobjects = 1; int wantTk = 1; /* If false, then Tk_Init() doesn't get called */ int sync = 0; /* pass -sync to wish */ char *use = NULL; /* pass -use to wish */ -- 2.50.1