Serhiy Storchaka added the comment: Here is a patch. Please run test_tcl test on 64-bit platform with > 20 GiB of memory.
I haven't included a test for huge tuples because it requires a lot of memory (perhaps the hundreds of GiBs) and should run a long time. It is impossible to calculate exact requirements from Python side, it's TCL implementation details. I'm not sure even about a huge string test. ---------- keywords: +patch nosy: +gpolo stage: needs patch -> patch review title: Integer overflow when passing large string to Tkinter -> Integer overflow when passing large string or tuple to Tkinter versions: -Python 3.2 Added file: http://bugs.python.org/file29881/tkinter_size_overflow.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17119> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com