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 gpolo
Recipients Nikolay.Fomichev, gpolo, terry.reedy
Date 2011-03-06.15:21:32
SpamBayes Score 4.6590703e-06
Marked as misclassified No
Message-id <AANLkTimzysDS8j-vdfX5jZZaD2m9qRVVXXpCAGTGZT5-@mail.gmail.com>
In-reply-to <1299419460.78.0.760794378649.issue11387@psf.upfronthosting.co.za>
Content
I have a different problem here on Mac, but I can manage to reproduce
your issue if I apply the following patch:

Index: Lib/tkinter/__init__.py
===================================================================
--- Lib/tkinter/__init__.py     (revision 88757)
+++ Lib/tkinter/__init__.py     (working copy)
@@ -920,9 +920,9 @@
             self.tk.call('bindtags', self._w, tagList)
     def _bind(self, what, sequence, func, add, needcleanup=1):
         """Internal function."""
-        if isinstance(func, str):
-            self.tk.call(what + (sequence, func))
-        elif func:
+        #if isinstance(func, str):
+        #    self.tk.call(what + (sequence, func))
+        if func:
             funcid = self._register(func, self._substitute,
                         needcleanup)
             cmd = ('%sif {"[%s %s]" == "break"} break\n'

This should help someone else to produce a patch for this problem you
reported. It is "interesting" that this same patch fixes the problem I
have here (I get a SIGSEGV if I click the cancel button side the
askdirectory dialog).
History
Date User Action Args
2011-03-06 15:21:33gpolosetrecipients: + gpolo, terry.reedy, Nikolay.Fomichev
2011-03-06 15:21:32gpololinkissue11387 messages
2011-03-06 15:21:32gpolocreate