Re: [Python-Dev] cpython (2.7): Issue #11277: test_zlib tests a buffer of 1 GB on 32 bits
May 4, 2011
7:35 p.m.
On Wed, 04 May 2011 21:27:50 +0200 victor.stinner <python-checkins@python.org> wrote:
http://hg.python.org/cpython/rev/7f3cab59ef3e changeset: 69834:7f3cab59ef3e branch: 2.7 parent: 69827:affec521b330 user: Victor Stinner <victor.stinner@haypocalc.com> date: Wed May 04 21:27:39 2011 +0200 summary: Issue #11277: test_zlib tests a buffer of 1 GB on 32 bits
What's the point? The issue with 2GB or 4GB buffers is that they cross the potential limit of a machine type (a signed or unsigned integer). I don't see any benefit in testing a 1GB buffer; the test could probably be removed instead. Regards Antoine.
5304
Age (days ago)
5304
Last active (days ago)
0 comments
1 participants
participants (1)
-
Antoine Pitrou