diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-05-28 13:57:55 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-05-28 13:57:55 (GMT) |
commit | 9e7cbda1ef4e8d104733f6de58753292bd79c8c1 (patch) | |
tree | c6561ebef1b2ba9d70d632c3938b11b3bab1a8a4 | |
parent | 3fc6d80fb19894ddae7053f5ea38bb1128b6b03c (diff) | |
download | cpython-9e7cbda1ef4e8d104733f6de58753292bd79c8c1.zip cpython-9e7cbda1ef4e8d104733f6de58753292bd79c8c1.tar.gz cpython-9e7cbda1ef4e8d104733f6de58753292bd79c8c1.tar.bz2 |
Issue #3015: _tkinter.create() now creates tkapp object with wantobject=1 by
default.
-rw-r--r-- | Misc/NEWS | 3 | ||||
-rw-r--r-- | Modules/_tkinter.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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 e47e8f3..0b8e555 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 */ |