[Python-Dev] cpython (2.7): Issue #11277: test_zlib tests a buffer of 1 GB on 32 bits
solipsis at pitrou.net
Wed May 4 21:35:11 CEST 2011
On Wed, 04 May 2011 21:27:50 +0200
victor.stinner <python-checkins at python.org> wrote:
> changeset: 69834:7f3cab59ef3e
> branch: 2.7
> parent: 69827:affec521b330
> user: Victor Stinner <victor.stinner at haypocalc.com>
> date: Wed May 04 21:27:39 2011 +0200
> 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.
More information about the Python-Dev