summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-04-19 19:09:56 (GMT)
committerGitHub <noreply@github.com>2017-04-19 19:09:56 (GMT)
commite63af29c87b44bb7ada5783cd0ff6ee6d4f9c17c (patch)
tree4397f11f7bce21bf7e5be3dd8185eb5bf2d78c87 /Misc/NEWS
parent49a905958ffc2fcd5d1d1a293ae453d45deeb884 (diff)
downloadcpython-e63af29c87b44bb7ada5783cd0ff6ee6d4f9c17c.zip
cpython-e63af29c87b44bb7ada5783cd0ff6ee6d4f9c17c.tar.gz
cpython-e63af29c87b44bb7ada5783cd0ff6ee6d4f9c17c.tar.bz2
[3.5] bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() (GH-1096) (GH-1180) (#1182)
raised an error. (cherry picked from commit bf623ae8843dc30b28c574bec8d29fc14be59d86) (cherry picked from commit 680fea4067537a9b9c79aadd44a3a19e83cd2dbf)
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 146a39c..011663d 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -49,6 +49,11 @@ Extension Modules
Library
-------
+- bpo-30061: Fixed crashes in IOBase methods __next__() and readlines() when
+ readline() or __next__() respectively return non-sizeable object.
+ Fixed possible other errors caused by not checking results of PyObject_Size(),
+ PySequence_Size(), or PyMapping_Size().
+
- bpo-30068: _io._IOBase.readlines will check if it's closed first when
hint is present.