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 gpolo, loewis, serhiy.storchaka
Date 2014-05-22.14:41:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2014-05-22 14:42:02serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, gpolo
2014-05-22 14:42:02serhiy.storchakasetmessageid: <>
2014-05-22 14:42:02serhiy.storchakalinkissue21552 messages
2014-05-22 14:42:01serhiy.storchakacreate