diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-03-21 10:26:31 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-03-21 10:26:31 (GMT) |
commit | ae681df4d8a0edf22a60e853d519c42012c31983 (patch) | |
tree | ac82dce2c3d3615e476e383968aff0370861b806 /Misc | |
parent | e43b060b05e3d99f83bc900e5efc5cdb34298888 (diff) | |
download | cpython-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/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 7 |
2 files changed, 8 insertions, 0 deletions
@@ -620,6 +620,7 @@ Ilya Sandler Ty Sarna Ben Sayer Michael Scharf +Andreas Schawo Neil Schemenauer David Scherer Gregor Schmid @@ -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 ================================ |