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 serhiy.storchaka
Recipients serhiy.storchaka, terry.reedy
Date 2015-04-24.12:09:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
>> 2. Does the change break existing code?
> Usually not.

I meant that the only difference (except that now Tkinter can work in cases where it failed before) is that that some exceptions can change its type from ValueError to TclError. But first, these exception are unlikely raised, and second, getint() and getdouble() are used to convert the result of call(), that can raise a TclError, so this doesn't add new exception type.

However, to decrease even such minor probability of the breakage, the patch for 3.4 and 2.7 uses widget.getint() instead of This wrapper converts TclError to ValueError.
Date User Action Args
2015-04-24 12:09:16serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy
2015-04-24 12:09:16serhiy.storchakasetmessageid: <>
2015-04-24 12:09:16serhiy.storchakalinkissue23880 messages
2015-04-24 12:09:16serhiy.storchakacreate