]> granicus.if.org Git - python/commit
Issue #15133: _tkinter.tkapp.getboolean() now supports long and Tcl_Obj and
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 4 Apr 2015 09:42:25 +0000 (12:42 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 4 Apr 2015 09:42:25 +0000 (12:42 +0300)
commitf29bc70bffd825d1af7a81b7ec1b1a5171b8b698
tree3f7231f943eafc5dcfdd1e46c2c3eb6ef9a0d7c8
parentbaa6efdceb61eda39cb1df7ce7bd761bc2747f08
Issue #15133: _tkinter.tkapp.getboolean() now supports long and Tcl_Obj and
always returns bool.  tkinter.BooleanVar now validates input values (accepted
bool, int, long, str, unicode, and Tcl_Obj).  tkinter.BooleanVar.get() now
always returns bool.
Lib/lib-tk/Tkinter.py
Lib/lib-tk/test/test_tkinter/test_variables.py
Lib/lib-tk/ttk.py
Lib/test/test_tcl.py
Misc/NEWS
Modules/_tkinter.c