[Python-bugs-list] [ python-Bugs-698517 ] Tk 8.4.2 and Tkinter.py _substitue function

SourceForge.net noreply@sourceforge.net
Sun, 23 Mar 2003 06:56:40 -0800


Bugs item #698517, was opened at 2003-03-06 06:52
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=698517&group_id=5470

Category: Tkinter
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: John Speno (corvus)
>Assigned to: Martin v. Löwis (loewis)
Summary: Tk 8.4.2 and Tkinter.py _substitue function

Initial Comment:
In Tk 8.4.2 (out now, or RSN), a change was made to events. From Tk's ChangeLog:

        * generic/tkBind.c (ExpandPercents): Only allow events to see
        those expansions that are actually valid for them, and force the
        substitution of the rest as "??".  This stops some crashes on
        Windows and gets rid of bogus values everywhere.  [Bug #612110]

Thus, Tkinter.py's _substitue method of Class Misc will need all of it's called to getint() (aka int()) wrapped to catch ValueErrors because the argument could now be '??' instead of something int()'able.

Does that make sense?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=698517&group_id=5470