Message218898
| 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:02 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, gpolo |
| 2014年05月22日 14:42:02 | serhiy.storchaka | set | messageid: <1400769722.86.0.708994855199.issue21552@psf.upfronthosting.co.za> |
| 2014年05月22日 14:42:02 | serhiy.storchaka | link | issue21552 messages |
| 2014年05月22日 14:42:01 | serhiy.storchaka | create |
|