1 .. bpo: 24284 2 .. date: 9208 3 .. nonce: NvtEnc 4 .. release date: 2015-05-31 5 .. section: Core and Builtins 6 7 The startswith and endswith methods of the str class no longer return True 8 when finding the empty string and the indexes are completely out of range. 9 10 .. 11 12 .. bpo: 24115 13 .. date: 9207 14 .. nonce: y9e_MO 15 .. section: Core and Builtins 16 17 Update uses of PyObject_IsTrue(), PyObject_Not(), PyObject_IsInstance(), 18 PyObject_RichCompareBool() and _PyDict_Contains() to check for and handle 19 errors correctly. 20 21 .. 22 23 .. bpo: 24328 24 .. date: 9206 25 .. nonce: 5gL8or 26 .. section: Core and Builtins 27 28 Fix importing one character extension modules. 29 30 .. 31 32 .. bpo: 11205 33 .. date: 9205 34 .. nonce: bikrRP 35 .. section: Core and Builtins 36 37 In dictionary displays, evaluate the key before the value. 38 39 .. 40 41 .. bpo: 24285 42 .. date: 9204 43 .. nonce: wvJumr 44 .. section: Core and Builtins 45 46 Fixed regression that prevented importing extension modules from inside 47 packages. Patch by Petr Viktorin. 48 49 .. 50 51 .. bpo: 23247 52 .. date: 9203 53 .. nonce: nN-K74 54 .. section: Library 55 56 Fix a crash in the StreamWriter.reset() of CJK codecs. 57 58 .. 59 60 .. bpo: 24270 61 .. date: 9202 62 .. nonce: M2rJNs 63 .. section: Library 64 65 Add math.isclose() and cmath.isclose() functions as per PEP 485. Contributed 66 by Chris Barker and Tal Einat. 67 68 .. 69 70 .. bpo: 5633 71 .. date: 9201 72 .. nonce: JNzKZq 73 .. section: Library 74 75 Fixed timeit when the statement is a string and the setup is not. 76 77 .. 78 79 .. bpo: 24326 80 .. date: 9200 81 .. nonce: 4t_6Gy 82 .. section: Library 83 84 Fixed audioop.ratecv() with non-default weightB argument. Original patch by 85 David Moore. 86 87 .. 88 89 .. bpo: 16991 90 .. date: 9199 91 .. nonce: 19_Zmj 92 .. section: Library 93 94 Add a C implementation of OrderedDict. 95 96 .. 97 98 .. bpo: 23934 99 .. date: 9198 100 .. nonce: esb-45 101 .. section: Library 102 103 Fix inspect.signature to fail correctly for builtin types lacking signature 104 information. Initial patch by James Powell. 105