Raymond Hettinger added the comment: Attaching a fix. I can't think of a way to test this without an array of sys.maxsize.
---------- keywords: +patch Added file: http://bugs.python.org/file35088/fix_overflow.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21375> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com