summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-05-31 06:15:51 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-05-31 06:15:51 (GMT)
commitd4ea03c785d659576e0ae65c12fe5c03ada872d0 (patch)
treef1df6f933651ff70bb27a72f3cf518ed406844b9 /Misc
parent3d4a457663d5b211e9357bd2ccfd60e0b5d9e57b (diff)
downloadcpython-d4ea03c785d659576e0ae65c12fe5c03ada872d0.zip
cpython-d4ea03c785d659576e0ae65c12fe5c03ada872d0.tar.gz
cpython-d4ea03c785d659576e0ae65c12fe5c03ada872d0.tar.bz2
Issue #24284: The startswith and endswith methods of the str class no longer
return True when finding the empty string and the indexes are completely out of range.
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 d0223c5..b56cb49 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,10 @@ Release date: 2015-07-05
Core and Builtins
-----------------
+- Issue #24284: The startswith and endswith methods of the str class no longer
+ return True when finding the empty string and the indexes are completely out
+ of range.
+
- Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains()
to check for and handle errors correctly.