[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