]> granicus.if.org Git - python/commit
Issue #20072: Fixed multiple errors in tkinter with wantobjects is False.
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 7 Jan 2014 17:32:58 +0000 (19:32 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Tue, 7 Jan 2014 17:32:58 +0000 (19:32 +0200)
commit9be238d313190d6dcb9b273ee20ce911c4e8ac85
treeb7687452e226f2fc19cdf33098ceb99dfc52ed1f
parentad3e72557ce06cd03a2cb573872fd16552bd8201
Issue #20072: Fixed multiple errors in tkinter with wantobjects is False.

* Misc.image_names(), Misc.image_types(), Wm.wm_colormapwindows(), and
  LabelFrame.panes() now always return a tuple.
* Fixed _stringify() for non-ASCII strings.
* Fixed error of comparing str and int in tt.LabeledScale._adjust().
* ttk.Notebook.index() now always returns int.
* ttk.Notebook.tabs() now always returns a tuple.
* ttk.Entry.bbox() now always returns a tuple of ints.
* ttk.Entry.validate() now always correctly works.
* ttk.Combobox.current() now always returns int.
* ttk.Panedwindow.sashpos() now always returns int.
* ttk.Treeview.bbox() now always returns a tuple of ints.
* ttk.Treeview.get_children() now always returns a tuple.
* ttk.Treeview.exists() now always correctly works.
* ttk.Treeview.index() now always returns int.
* ttk.Treeview.tag_has() now always returns 0 or 1.
* And numerous other errors in methods which returns a tuple, list or dict.
* Fixed ttk tests for wantobjects is False.
Lib/lib-tk/Tkinter.py
Lib/lib-tk/test/test_ttk/test_extensions.py
Lib/lib-tk/test/test_ttk/test_functions.py
Lib/lib-tk/test/test_ttk/test_style.py
Lib/lib-tk/test/test_ttk/test_widgets.py
Lib/lib-tk/ttk.py
Misc/NEWS