]> granicus.if.org Git - python/commit
Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and always
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 4 Apr 2015 09:43:01 +0000 (12:43 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 4 Apr 2015 09:43:01 +0000 (12:43 +0300)
commit9a6e201f7d5f147b776274c1598089fc68859e98
treee0daed0ebec9426b48936bb37e2dc91ef74e0c79
parentc9ba38c21c9a7ba9e26cdfaee7f6e201f561222e
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.
Lib/test/test_tcl.py
Lib/tkinter/__init__.py
Lib/tkinter/test/test_tkinter/test_variables.py
Lib/tkinter/ttk.py
Misc/NEWS
Modules/_tkinter.c