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.

classification
Title: Tk 8.4.2 and Tkinter.py _substitue function
Type: Stage:
Components: Tkinter Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: loewis Nosy List: corvus, loewis
Priority: normal Keywords:

Created on 2003-03-06 05:52 by corvus, last changed 2022-04-10 16:07 by admin. This issue is now closed.

Messages (2)
msg14992 - (view) Author: John Speno (corvus) Date: 2003-03-06 05:52
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?
msg14993 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-03-29 10:02
Logged In: YES 
user_id=21627

Fixed with patch #707701
History
Date User Action Args
2022-04-10 16:07:25adminsetgithub: 38112
2003-03-06 05:52:40corvuscreate