[Python-checkins] r85337 - in python/branches/release31-maint: Lib/tkinter/test/test_ttk/test_widgets.py Misc/NEWS setup.py
antoine.pitrou
python-checkins at python.org
Sat Oct 9 12:25:55 CEST 2010
Author: antoine.pitrou
Date: Sat Oct 9 12:25:55 2010
New Revision: 85337
Log:
Merged revisions 74473,79974 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r74473 | guilherme.polo | 2009-08-16 16:44:14 +0200 (dim., 16 août 2009) | 13 lines
Merged revisions 74471-74472 via svnmerge from
svn+ssh://pythondev/python/trunk
........
r74471 | guilherme.polo | 2009-08-16 11:34:26 -0300 (Sun, 16 Aug 2009) | 1 line
Issue #6244: Allow detect_tkinter to look for Tcl/Tk 8.6.
........
r74472 | guilherme.polo | 2009-08-16 11:38:57 -0300 (Sun, 16 Aug 2009) | 1 line
Wrong place for issue #6244.
........
................
r79974 | benjamin.peterson | 2010-04-12 00:04:51 +0200 (lun., 12 avril 2010) | 13 lines
Merged revisions 79903,79907 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79903 | martin.v.loewis | 2010-04-08 04:47:40 -0500 (Thu, 08 Apr 2010) | 2 lines
Issue #8344: Fix test_ttk bug on FreeBSD.
........
r79907 | martin.v.loewis | 2010-04-08 12:38:32 -0500 (Thu, 08 Apr 2010) | 2 lines
Issue #8204: Fix test_ttk notebook test by forcing focus.
........
................
Modified:
python/branches/release31-maint/ (props changed)
python/branches/release31-maint/Lib/tkinter/test/test_ttk/test_widgets.py
python/branches/release31-maint/Misc/NEWS
python/branches/release31-maint/setup.py
Modified: python/branches/release31-maint/Lib/tkinter/test/test_ttk/test_widgets.py
==============================================================================
--- python/branches/release31-maint/Lib/tkinter/test/test_ttk/test_widgets.py (original)
+++ python/branches/release31-maint/Lib/tkinter/test/test_ttk/test_widgets.py Sat Oct 9 12:25:55 2010
@@ -704,15 +704,19 @@
self.nb.select(0)
support.simulate_mouse_click(self.nb, 5, 5)
+ self.nb.focus_force()
self.nb.event_generate('<Control-Tab>')
self.assertEqual(self.nb.select(), str(self.child2))
+ self.nb.focus_force()
self.nb.event_generate('<Shift-Control-Tab>')
self.assertEqual(self.nb.select(), str(self.child1))
+ self.nb.focus_force()
self.nb.event_generate('<Shift-Control-Tab>')
self.assertEqual(self.nb.select(), str(self.child2))
self.nb.tab(self.child1, text='a', underline=0)
self.nb.enable_traversal()
+ self.nb.focus_force()
self.nb.event_generate('<Alt-a>')
self.assertEqual(self.nb.select(), str(self.child1))
@@ -1112,9 +1116,9 @@
self.assertRaises(tkinter.TclError, self.tv.tag_configure,
'test', sky='blue')
self.tv.tag_configure('test', foreground='blue')
- self.assertEqual(self.tv.tag_configure('test', 'foreground'),
+ self.assertEqual(str(self.tv.tag_configure('test', 'foreground')),
'blue')
- self.assertEqual(self.tv.tag_configure('test', foreground=None),
+ self.assertEqual(str(self.tv.tag_configure('test', foreground=None)),
'blue')
self.assertTrue(isinstance(self.tv.tag_configure('test'), dict))
Modified: python/branches/release31-maint/Misc/NEWS
==============================================================================
--- python/branches/release31-maint/Misc/NEWS (original)
+++ python/branches/release31-maint/Misc/NEWS Sat Oct 9 12:25:55 2010
@@ -600,6 +600,8 @@
Build
-----
+- Issue #6244: Allow detect_tkinter to look for Tcl/Tk 8.6.
+
- Issue #1633863: Don't ignore $CC under AIX.
- Issue #9810: Compile bzip2 source files in python's project file
Modified: python/branches/release31-maint/setup.py
==============================================================================
--- python/branches/release31-maint/setup.py (original)
+++ python/branches/release31-maint/setup.py Sat Oct 9 12:25:55 2010
@@ -1450,8 +1450,8 @@
# The versions with dots are used on Unix, and the versions without
# dots on Windows, for detection by cygwin.
tcllib = tklib = tcl_includes = tk_includes = None
- for version in ['8.5', '85', '8.4', '84', '8.3', '83', '8.2',
- '82', '8.1', '81', '8.0', '80']:
+ for version in ['8.6', '86', '8.5', '85', '8.4', '84', '8.3', '83',
+ '8.2', '82', '8.1', '81', '8.0', '80']:
tklib = self.compiler.find_library_file(lib_dirs, 'tk' + version)
tcllib = self.compiler.find_library_file(lib_dirs, 'tcl' + version)
if tklib and tcllib:
More information about the Python-checkins
mailing list