This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author douardda
Recipients
Date 2005-11-09.15:03:07
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=692511

The problem is still not resolved for now (AFAIK).

Here is a very simple patch for Tkinter.py:

*** 432,442 ****
--- 432,446 ----
          to 0."""
          name = self.tk.call('tk_focusNext', self._w)
          if not name: return None
+         try: name=name.string
+         except: pass
          return self._nametowidget(name)
      def tk_focusPrev(self):
          """Return previous widget in the focus order. See
tk_focusNext for details."""
          name = self.tk.call('tk_focusPrev', self._w)
          if not name: return None
+         try: name=name.string
+         except: pass
          return self._nametowidget(name)
      def after(self, ms, func=None, *args):
          """Call function once after given time.

Note: I have made this (try/except) cause I have encountered
cases where "name" was still a string (well, at least with
Python 2.3.1).

David (david.douard*gmail.com)
History
Date User Action Args
2007-08-23 14:16:37adminlinkissue799428 messages
2007-08-23 14:16:37admincreate