]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #20072: Fixed multiple errors in tkinter with wantobjects is False.
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 7 Jan 2014 17:27:42 +0000 (19:27 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Tue, 7 Jan 2014 17:27:42 +0000 (19:27 +0200)
commita21acb5d95841e7d2c8491f40189a853cb7b5df4
tree10b5b71cb87b5edb5eefc48b08b3abc912b6a5ed
parent0455c3fd28256940ad02ac39335816c1bdab0af9
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 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/tkinter/__init__.py
Lib/tkinter/test/test_ttk/test_extensions.py
Lib/tkinter/test/test_ttk/test_functions.py
Lib/tkinter/test/test_ttk/test_style.py
Lib/tkinter/test/test_ttk/test_widgets.py
Lib/tkinter/ttk.py
Misc/NEWS