Issue 698517: Tk 8.4.2 and Tkinter.py _substitue function (original) (raw)

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?