summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-04-16 06:37:18 (GMT)
committerGitHub <noreply@github.com>2017-04-16 06:37:18 (GMT)
commitbaf9f29811dba9c06e76b8e220bd77260202f299 (patch)
tree2057d3d950d1411d7399929558745fd63230556a /Misc
parent813f943c592cf225871b99cffc99304c8cbbee40 (diff)
downloadcpython-baf9f29811dba9c06e76b8e220bd77260202f299.zip
cpython-baf9f29811dba9c06e76b8e220bd77260202f299.tar.gz
cpython-baf9f29811dba9c06e76b8e220bd77260202f299.tar.bz2
bpo-29839: Raise ValueError rather than OverflowError in len() for negative values. (#701)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index da40d8f..5981b3a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,9 @@ What's New in Python 3.7.0 alpha 1?
Core and Builtins
-----------------
+- bpo-29839: len() now raises ValueError rather than OverflowError if
+ __len__() returned a large negative integer.
+
- bpo-11913: README.rst is now included in the list of distutils standard
READMEs and therefore included in source distributions.