diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-04-16 06:37:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-16 06:37:18 (GMT) |
commit | baf9f29811dba9c06e76b8e220bd77260202f299 (patch) | |
tree | 2057d3d950d1411d7399929558745fd63230556a /Misc | |
parent | 813f943c592cf225871b99cffc99304c8cbbee40 (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |