[Python-Dev] [Python-checkins] cpython (2.7): Issue #10276: test_zlib checks that inputs of 2 GB are handled correctly by (original) (raw)
Nadeem Vawda nadeem.vawda at gmail.com
Tue May 3 23:11:48 CEST 2011
- Previous message: [Python-Dev] [Python-checkins] cpython (2.7): Issue #10276: test_zlib checks that inputs of 2 GB are handled correctly by
- Next message: [Python-Dev] [Python-checkins] cpython (2.7): Issue #10276: test_zlib checks that inputs of 2 GB are handled correctly by
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, May 3, 2011 at 10:38 PM, Victor Stinner <victor.stinner at 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 Pyssizet 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
- Previous message: [Python-Dev] [Python-checkins] cpython (2.7): Issue #10276: test_zlib checks that inputs of 2 GB are handled correctly by
- Next message: [Python-Dev] [Python-checkins] cpython (2.7): Issue #10276: test_zlib checks that inputs of 2 GB are handled correctly by
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]