Author serhiy.storchaka
Recipients gpolo, loewis, serhiy.storchaka
Date 2014-05-22.14:41:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400769722.86.0.708994855199.issue21552@psf.upfronthosting.co.za>
In-reply-to
Content
Tkinter converts str argument to C string and then pass it to Tcl. But Tcl handles string length as int and it can overflow if strlen() returns value > INT_MAX. Proposed patch introduces special conversion functions which ensure that string length will not overflow. It also corrects error message in getint(), getdouble() and getboolean() methods (e.g. "must be int or str" instead of "must be str") and adds tests for them.
History
Date User Action Args
2014-05-22 14:42:02serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, gpolo
2014-05-22 14:42:02serhiy.storchakasetmessageid: <1400769722.86.0.708994855199.issue21552@psf.upfronthosting.co.za>
2014-05-22 14:42:02serhiy.storchakalinkissue21552 messages
2014-05-22 14:42:01serhiy.storchakacreate