4360 Commits (e8ea97fffb591cd71090d0f3114bf1d3bcd31454)

Author SHA1 Message Date
Benjamin Peterson c43112823b initialize more global type objects (closes #16369) 13 years ago
Mark Dickinson fb90c0934c Issue #14700: Fix buggy overflow checks for large precision and width in new-style and old-style formatting. 13 years ago
Mark Dickinson 91044799f7 Issue #16277: in PyLong_FromVoidPtr, add missing branch for sizeof(void*) <= sizeof(long). 13 years ago
Eric Snow 547298c94c Close #16160: Subclass support now works for types.SimpleNamespace. Thanks to RDM for noticing. 13 years ago
Chris Jerdonek 83fe2e1c22 Issue #14783: Improve int() docstring and also str(), range(), and slice(). 13 years ago
Mark Dickinson fc9adb62fb Issue #16096: Fix signed overflow in Objects/longobject.c. Thanks Serhiy Storchaka. 13 years ago
Mark Dickinson c04ddff290 Issue #16096: Fix several occurrences of potential signed integer overflow. Thanks Serhiy Storchaka. 13 years ago
Ezio Melotti e7f90375b1 #16127: remove outdated references to narrow builds. Patch by Serhiy Storchaka. 13 years ago
Victor Stinner 1929407406 Fix PyUnicode_Format(): return NULL if PyUnicode_READY(uformat) failed 13 years ago
Ezio Melotti 0e1af282b8 Fix typo. 13 years ago
Mark Dickinson 3d7838593b Issue #16060: Fix a double DECREF in int() implementation. Thanks Serhiy Storchaka. 13 years ago
Mark Dickinson 7c95bb35e4 Issue #16060: Fix a double DECREF in int() implementation. Thanks Serhiy Storchaka. 13 years ago
Antoine Pitrou 6f80f5d444 Issue #15379: Fix passing of non-BMP characters as integers for the charmap decoder (already working as unicode strings). 13 years ago
Mark Dickinson c286e58044 Issue 15959: Fix type mismatch for quick{_neg}_int_allocs. Thanks Serhiy Storchaka. 13 years ago
Antoine Pitrou ca8aa4acf6 Issue #15144: Fix possible integer overflow when handling pointers as integer values, by using Py_uintptr_t instead of size_t. 13 years ago
Trent Nelson ab02db23b1 Silence compiler warnings on Solaris 10 via explicit (void *) casts. 13 years ago
Christian Heimes 79b97ee2ab Fix out of bounds read in long_new() for empty bytes with an explicit base. int(b'', somebase) calls PyLong_FromString() with char* of length 1 but the function accesses the first argument at offset 1. CID 715359 13 years ago
Christian Heimes 5f520f4fed Issue #15900: Fixed reference leak in PyUnicode_TranslateCharmap() 14 years ago
Christian Heimes e81dc296f2 Fixed memory leak in error branch of object_repr which may leak a reference to mod when type_name returns NULL. CID 715371 14 years ago
Christian Heimes fd30236494 Fixed memory leak in error branch of formatfloat(). CID 719687 14 years ago
Christian Heimes f4f9939a96 Fixed memory leak in error branch of formatfloat(). CID 719687 14 years ago
Christian Heimes bdc7e69f42 Issue #15900: Fixed reference leak in PyUnicode_TranslateCharmap() 14 years ago
Christian Heimes a0e7e41cba Fixed possible reference leak to mod when type_name() returns NULL 14 years ago
Christian Heimes d5a88044a3 PyTuple_Pack() was missing va_end() in its error branch which lead to a resource leak. 14 years ago
Christian Heimes 110ac16b9f Fixed resource leak to scratch when _PyUnicodeWriter_Prepare fails 14 years ago
Christian Heimes 949f331731 Py_TYPE() has already dereferenced self before the NULL check. Moved Py_TYPE() after the check for self == NULL 14 years ago
Antoine Pitrou 56cd62c04a Issue #13992: The trashcan mechanism is now thread-safe. This eliminates 14 years ago
Alexander Belopolsky f73c69e06f Issue #15855: added docstrings for memoryview methods and data descriptors new in 3.3. 14 years ago
Alexander Belopolsky 397e5c98bc Issue #15855: added docstrings for memoryview methods and data descriptors. 14 years ago
Antoine Pitrou 057119b0b7 Fix C++-style comment (xlc compilation failure) 14 years ago
Antoine Pitrou 2b0218a259 Issue #13992: The trashcan mechanism is now thread-safe. This eliminates 14 years ago
Benjamin Peterson 6a42bd67d7 Make super() internal errors RuntimeError instead of SystemError (closes #15839) 14 years ago
Benjamin Peterson 28a6cfaefc use the stricter PyMapping_Check (closes #15801) 14 years ago
Richard Oudkerk ea62bd50a3 Issue #15784: Modify OSError.__str__() to better distinguish between 14 years ago
Richard Oudkerk 30147710e8 Issue #15784: Modify OSError.__str__() to better distinguish between 14 years ago
Nick Coghlan 06e1ab0a6b Close #15573: use value-based memoryview comparisons (patch by Stefan Krah) 14 years ago
Brett Cannon 07c6e71689 Issue #15778: Coerce ImportError.args to a string when it isn't 14 years ago
Stefan Krah 7cacd2eb92 Issue #15736: Fix overflow in _PySequence_BytesToCharpArray(). 14 years ago
Stefan Krah fd24f9e51e Issue #15732: Fix (constructed) crash in _PySequence_BytesToCharpArray(). 14 years ago
Stefan Krah 8528c3145e Issue #15728: Fix leak in PyUnicode_AsWideCharString(). Found by Coverity. 14 years ago
Stefan Krah 6b962860e2 Check for NULL return value in PyStructSequence_NewType(). Found by Coverity. 14 years ago
Nick Coghlan 573b1fd779 Fix str docstring 14 years ago
Antoine Pitrou 6f430e4963 Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly. 14 years ago
Victor Stinner b3f5501250 Close #15534: Fix a typo in the fast search function of the string library (_s => s) 14 years ago
Richard Oudkerk 5562d9dc5d Issue #1692335: Move initial args assignment to BaseException.__new__ 14 years ago
Stefan Krah e4c0799d9c Add unused parameter to a METH_NOARGS function. 14 years ago
Stefan Krah 7d12d9df13 Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays. 14 years ago
Martin v. Löwis 3bbd2fad4d Issue #15456: Fix code __sizeof__ after #12399 change. 14 years ago
Antoine Pitrou b4bbee25b1 Issue #14579: Fix CVE-2012-2135: vulnerability in the utf-16 decoder after error handling. 14 years ago
Andrew Svetlov ddcb6206bf Issue #15404: Refleak in PyMethodObject repr. 14 years ago