summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-01-04 02:07:34 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-01-04 02:07:34 (GMT)
commitb3c9e073fc7b93529ceb0af520d148385e6f63f7 (patch)
tree77b8ef468c87c3258cd734fc2c438f57a71d0d65 /Misc
parente6edec23718072ed7903be9dae37ae330a9d81d5 (diff)
downloadcpython-b3c9e073fc7b93529ceb0af520d148385e6f63f7.zip
cpython-b3c9e073fc7b93529ceb0af520d148385e6f63f7.tar.gz
cpython-b3c9e073fc7b93529ceb0af520d148385e6f63f7.tar.bz2
Issue #8651: PyArg_Parse*() functions raise an OverflowError if the file
doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int (length bigger than 2^31-1).
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 1540db7..d7610b3 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -8,6 +8,10 @@ What's New in Python 3.2 Release Candidate 1
Core and Builtins
-----------------
+- Issue #8651: PyArg_Parse*() functions raise an OverflowError if the file
+ doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int
+ (length bigger than 2^31-1 bytes).
+
- Issue #9015, #9611: FileIO.readinto(), FileIO.write() and os.write() clamp
the length to 2^31-1 on Windows.