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/2004-November/049888.html below:

[Python-Dev] struct module: add OverflowErrors now?

[Python-Dev] struct module: add OverflowErrors now? [Python-Dev] struct module: add OverflowErrors now?Aahz aahz at pythoncraft.com
Fri Nov 12 16:41:53 CET 2004
On Fri, Nov 12, 2004, Armin Rigo wrote:
> 
> The struct module is too lazy in checking for overflows (it only
> checks some cases on some architectures).  See patch #1038854.  The
> question is: can we make it strict this late in the 2.4 release
> process?  This *will* break some user code; the proof is that it
> breaks some standard library code, e.g. gzip.py, which uses a signed
> typecode when it really means an unsigned one.

+1 on fixing it now, assuming you can find an appropriate reviewer.
Bugfixing is allowed during beta, and relying on this behavior is a bug.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

WiFi is the SCSI of the 21st Century -- there are fundamental technical
reasons for sacrificing a goat.  (with no apologies to John Woods)
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