A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-May/111194.html below:

test_zlib tests a buffer of 1 GB on 32 bits

[Python-Dev] cpython (2.7): Issue #11277: test_zlib tests a buffer of 1 GB on 32 bits [Python-Dev] cpython (2.7): Issue #11277: test_zlib tests a buffer of 1 GB on 32 bitsAntoine Pitrou 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:
> http://hg.python.org/cpython/rev/7f3cab59ef3e
> 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
> 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.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4