- 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.
diff --git a/Misc/ACKS b/Misc/ACKS
index 7084f21..85bc8a1 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -620,6 +620,7 @@
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 @@
- 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
================================