]> granicus.if.org Git - python/commit
- Issue #5463: In struct module, remove deprecated overflow wrapping
authorMark Dickinson <dickinsm@gmail.com>
Sat, 21 Mar 2009 10:26:31 +0000 (10:26 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 21 Mar 2009 10:26:31 +0000 (10:26 +0000)
commitae681df4d8a0edf22a60e853d519c42012c31983
treeac82dce2c3d3615e476e383968aff0370861b806
parente43b060b05e3d99f83bc900e5efc5cdb34298888
- Issue #5463: In struct module, remove deprecated overflow wrapping
  when packing an integer: for example, struct.pack('=L', -1) now
  raises struct.error instead of returning b'\xff\xff\xff\xff'.

  Thanks Andreas Schawo for the patch.
Lib/test/test_struct.py
Misc/ACKS
Misc/NEWS
Modules/_struct.c