Skip to content

Latest commit

 

History

History
104 lines (73 loc) · 1.82 KB

3.5.0b2.rst

File metadata and controls

104 lines (73 loc) · 1.82 KB

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.

Update uses of PyObject_IsTrue(), PyObject_Not(), PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains() to check for and handle errors correctly.

Fix importing one character extension modules.

In dictionary displays, evaluate the key before the value.

Fixed regression that prevented importing extension modules from inside packages. Patch by Petr Viktorin.

Fix a crash in the StreamWriter.reset() of CJK codecs.

Add math.isclose() and cmath.isclose() functions as per PEP 485. Contributed by Chris Barker and Tal Einat.

Fixed timeit when the statement is a string and the setup is not.

Fixed audioop.ratecv() with non-default weightB argument. Original patch by David Moore.

Add a C implementation of OrderedDict.

Fix inspect.signature to fail correctly for builtin types lacking signature information. Initial patch by James Powell.