summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-03-21 10:26:31 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-03-21 10:26:31 (GMT)
commitae681df4d8a0edf22a60e853d519c42012c31983 (patch)
treeac82dce2c3d3615e476e383968aff0370861b806 /Misc
parente43b060b05e3d99f83bc900e5efc5cdb34298888 (diff)
downloadcpython-ae681df4d8a0edf22a60e853d519c42012c31983.zip
cpython-ae681df4d8a0edf22a60e853d519c42012c31983.tar.gz
cpython-ae681df4d8a0edf22a60e853d519c42012c31983.tar.bz2
- 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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS7
2 files changed, 8 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 7084f21..85bc8a1 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -620,6 +620,7 @@ Ilya Sandler
Ty Sarna
Ben Sayer
Michael Scharf
+Andreas Schawo
Neil Schemenauer
David Scherer
Gregor Schmid
diff --git a/Misc/NEWS b/Misc/NEWS
index 3e890f3..bad0a44 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -44,6 +44,13 @@ Library
- Issue #5016: FileIO.seekable() could return False if the file position
was negative when truncated to a C int. Patch by Victor Stinner.
+Extension Modules
+-----------------
+
+- Issue #5463: In struct module, remove deprecated overflow wrapping
+ when packing an integer: struct.pack('=L', -1) now raises
+ struct.error instead of returning b'\xff\xff\xff\xff'.
+
What's New in Python 3.1 alpha 1
================================