[Python-checkins] r74352 - in python/branches/tk_and_idle_maintenance/Lib: idlelib/WidgetRedirector.py lib-tk/Tkinter.py

guilherme.polo python-checkins at python.org
Fri Aug 7 19:21:43 CEST 2009


Author: guilherme.polo
Date: Fri Aug  7 19:21:42 2009
New Revision: 74352

Log:
Some required adjusts (caused by r74349).

Modified:
   python/branches/tk_and_idle_maintenance/Lib/idlelib/WidgetRedirector.py
   python/branches/tk_and_idle_maintenance/Lib/lib-tk/Tkinter.py

Modified: python/branches/tk_and_idle_maintenance/Lib/idlelib/WidgetRedirector.py
==============================================================================
--- python/branches/tk_and_idle_maintenance/Lib/idlelib/WidgetRedirector.py	(original)
+++ python/branches/tk_and_idle_maintenance/Lib/idlelib/WidgetRedirector.py	Fri Aug  7 19:21:42 2009
@@ -77,6 +77,7 @@
         to *args to accomplish that.  For an example, see ColorDelegator.py.
 
         '''
+        operation = str(operation)
         m = self._operations.get(operation)
         try:
             if m:

Modified: python/branches/tk_and_idle_maintenance/Lib/lib-tk/Tkinter.py
==============================================================================
--- python/branches/tk_and_idle_maintenance/Lib/lib-tk/Tkinter.py	(original)
+++ python/branches/tk_and_idle_maintenance/Lib/lib-tk/Tkinter.py	Fri Aug  7 19:21:42 2009
@@ -1154,7 +1154,7 @@
         e.char = A
         try: e.send_event = getboolean(E)
         except TclError: pass
-        e.keysym = K
+        e.keysym = str(K)
         e.keysym_num = getint_event(N)
         e.type = T
         try:


More information about the Python-checkins mailing list