]> granicus.if.org Git - python/commitdiff
Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and always
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 4 Apr 2015 09:44:30 +0000 (12:44 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 4 Apr 2015 09:44:30 +0000 (12:44 +0300)
returns bool.  tkinter.BooleanVar now validates input values (accepted bool,
int, str, and Tcl_Obj).  tkinter.BooleanVar.get() now always returns bool.

1  2 
Lib/test/test_tcl.py
Lib/tkinter/__init__.py
Misc/NEWS
Modules/_tkinter.c

Simple merge
Simple merge
diff --cc Misc/NEWS
index 2d07fd122ff86215c3949587f8bdf7988aa16349,a8c7eccf7e3e108bc5d2c539e60a66bac8909c17..2c58f16ec2b62b9761d4f07383aa2294ddcbab83
+++ b/Misc/NEWS
@@@ -19,8 -24,10 +19,12 @@@ Core and Builtin
  Library
  -------
  
+ - Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and always
+   returns bool.  tkinter.BooleanVar now validates input values (accepted bool,
+   int, str, and Tcl_Obj).  tkinter.BooleanVar.get() now always returns bool.
 +- Issue #10590: xml.sax.parseString() now supports string argument.
 +
  - Issue #23338: Fixed formatting ctypes error messages on Cygwin.
    Patch by Makoto Kato.
  
Simple merge