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 <1429877356.52.0.185042285714.issue23880@psf.upfronthosting.co.za>
In-reply-to
Content
>> 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 widget.tk.getint(). This wrapper converts TclError to ValueError.
History
Date User Action Args
2015-04-24 12:09:16serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy
2015-04-24 12:09:16serhiy.storchakasetmessageid: <1429877356.52.0.185042285714.issue23880@psf.upfronthosting.co.za>
2015-04-24 12:09:16serhiy.storchakalinkissue23880 messages
2015-04-24 12:09:16serhiy.storchakacreate