On Tue, May 3, 2011 at 10:38 PM, Victor Stinner <victor.stin...@haypocalc.com> wrote: > I don't want to check OverflowError: the test is supposed to compute the > checksum of a buffer of 0x7FFFFFFF bytes, to check crc32() and > adler32(). 0x7FFFFFFF is the biggest size supported by these functions > (zlib doesn't use Py_ssize_t in Python 2.7).
I see. Since you mentioned issue 10276 in the commit message, I assumed you were testing for the underlying C functions truncating their arguments. It seems that I was mistaken. Sorry for the confusion. Cheers, Nadeem _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com