[Python-bugs-list] [ python-Bugs-763637 ] 2.3b2 unpack tuple of wrong size in after_cancel
SourceForge.net
noreply@sourceforge.net
Tue, 01 Jul 2003 10:31:14 -0700
Bugs item #763637, was opened at 2003-06-30 21:28
Message generated for change (Comment added) made by mdcowles
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=763637&group_id=5470
Category: Tkinter
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthew Cowles (mdcowles)
Assigned to: Nobody/Anonymous (nobody)
Summary: 2.3b2 unpack tuple of wrong size in after_cancel
Initial Comment:
The new code in after_cancel in the version of Tkinter.py
that ships with 2.3b2:
(script, type) = self.tk.splitlist(
self.tk.call('after', 'info', id))
fails because the splitlist call returns something like
('after#53',)
at least when linking against the Tcl and Tk 8.4 libraries that
Fink installs under Mac OS X.
----------------------------------------------------------------------
>Comment By: Matthew Cowles (mdcowles)
Date: 2003-07-01 12:31
Message:
Logged In: YES
user_id=198518
Yes, the patch works fine.
With a little more investigation, I find that with Tcl 8.4 you
sometimes get back a 2-tuple and sometimes a 1-tuple. So the
comment is trivially misleading.
----------------------------------------------------------------------
Comment By: Neal Norwitz (nnorwitz)
Date: 2003-06-30 22:58
Message:
Logged In: YES
user_id=33168
Matthew can you test the attached patch to verify if it
fixes the problem. This (still) works for me on Tk 8.3.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=763637&group_id=5470