diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-31 06:15:51 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-31 06:15:51 (GMT) |
commit | d4ea03c785d659576e0ae65c12fe5c03ada872d0 (patch) | |
tree | f1df6f933651ff70bb27a72f3cf518ed406844b9 /Misc | |
parent | 3d4a457663d5b211e9357bd2ccfd60e0b5d9e57b (diff) | |
download | cpython-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |