summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* Fixed memory leak in error branch of formatfloat(). CID 719687Christian Heimes2012-09-101-1/+3
|
* Fixed possible reference leak to mod when type_name() returns NULLChristian Heimes2012-09-101-1/+3
|\
| * Fixed possible reference leak to mod when type_name() returns NULLChristian Heimes2012-09-101-1/+3
| |
* | PyTuple_Pack() was missing va_end() in its error branch which lead to a ↵Christian Heimes2012-09-101-1/+3
|\ \ | |/ | | | | resource leak.
| * PyTuple_Pack() was missing va_end() in its error branch which lead to a ↵Christian Heimes2012-09-101-1/+3
| | | | | | | | resource leak.
* | Fixed resource leak to scratch when _PyUnicodeWriter_Prepare failsChristian Heimes2012-09-101-1/+3
| |
* | Py_TYPE() has already dereferenced self before the NULL check. Moved ↵Christian Heimes2012-09-101-1/+2
|\ \ | |/ | | | | Py_TYPE() after the check for self == NULL
| * Py_TYPE() has already dereferenced self before the NULL check. Moved ↵Christian Heimes2012-09-101-1/+2
| | | | | | | | Py_TYPE() after the check for self == NULL
* | Issue #13992: The trashcan mechanism is now thread-safe. This eliminatesAntoine Pitrou2012-09-052-0/+42
|\ \ | |/ | | | | | | | | | | | | | | sporadic crashes in multi-thread programs when several long deallocator chains ran concurrently and involved subclasses of built-in container types. Note that the trashcan functions are part of the stable ABI, therefore they have to be kept around for binary compatibility of extensions.
| * Issue #13992: The trashcan mechanism is now thread-safe. This eliminatesAntoine Pitrou2012-09-052-0/+42
| | | | | | | | | | | | | | | | | | | | | | sporadic crashes in multi-thread programs when several long deallocator chains ran concurrently and involved subclasses of built-in container types. Because of this change, a couple extension modules compiled for 3.2.4 (those which use the trashcan mechanism, despite it being undocumented) will not be loadable by 3.2.3 and earlier. However, extension modules compiled for 3.2.3 and earlier will be loadable by 3.2.4.
* | Issue #15855: added docstrings for memoryview methods and data descriptors ↵Alexander Belopolsky2012-09-031-13/+28
| | | | | | | | new in 3.3.
* | Issue #15855: added docstrings for memoryview methods and data descriptors ↵Alexander Belopolsky2012-09-031-10/+41
|\ \ | |/ | | | | (merge 3.2).
| * Issue #15855: added docstrings for memoryview methods and data descriptors.Alexander Belopolsky2012-09-031-11/+43
| |
* | Fix C++-style comment (xlc compilation failure)Antoine Pitrou2012-09-021-1/+1
| |
* | Make super() internal errors RuntimeError instead of SystemError (closes #15839)Benjamin Peterson2012-09-021-7/+7
| |
* | merge headsBenjamin Peterson2012-08-281-2/+2
|\ \
| * | Issue #15784: Modify OSError.__str__() to better distinguish betweenRichard Oudkerk2012-08-281-2/+2
| | | | | | | | | | | | errno error numbers and Windows error numbers.
* | | merge 3.2 (#15801)Benjamin Peterson2012-08-281-2/+1
|\ \ \ | |/ / |/| / | |/
| * use the stricter PyMapping_Check (closes #15801)Benjamin Peterson2012-08-281-2/+1
| |
* | Close #15573: use value-based memoryview comparisons (patch by Stefan Krah)Nick Coghlan2012-08-251-43/+283
| |
* | Issue #15778: Coerce ImportError.args to a string when it isn'tBrett Cannon2012-08-241-1/+1
| | | | | | | | | | | | already one. Patch by Dave Malcolm.
* | Merge 3.2.Stefan Krah2012-08-211-0/+7
|\ \ | |/
| * Issue #15736: Fix overflow in _PySequence_BytesToCharpArray().Stefan Krah2012-08-211-0/+7
| |
* | Merge 3.2.Stefan Krah2012-08-201-0/+5
|\ \ | |/
| * Issue #15732: Fix (constructed) crash in _PySequence_BytesToCharpArray().Stefan Krah2012-08-201-0/+5
| | | | | | | | Found by Coverity.
* | Issue #15728: Fix leak in PyUnicode_AsWideCharString(). Found by Coverity.Stefan Krah2012-08-191-1/+3
| |
* | Mereg 3.2.Stefan Krah2012-08-191-1/+3
|\ \ | |/
| * Check for NULL return value in PyStructSequence_NewType(). Found by Coverity.Stefan Krah2012-08-191-1/+3
| |
* | Merge str docstring fix from 3.2Nick Coghlan2012-08-161-4/+8
|\ \ | |/
| * Fix str docstringNick Coghlan2012-08-161-4/+8
| |
* | Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵Antoine Pitrou2012-08-151-5/+7
|\ \ | |/ | | | | | | | | errors correctly. Patch by Serhiy Storchaka.
| * Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵Antoine Pitrou2012-08-151-5/+7
| | | | | | | | | | | | errors correctly. Patch by Serhiy Storchaka.
| * Issue #14579: Fix CVE-2012-2135: vulnerability in the utf-16 decoder after ↵Antoine Pitrou2012-07-201-31/+21
| | | | | | | | | | | | error handling. Patch by Serhiy Storchaka.
* | Close #15534: Fix a typo in the fast search function of the string library ↵Victor Stinner2012-08-021-5/+5
| | | | | | | | | | | | (_s => s) Replace _s with ptr to avoid future confusion. Add also non regression tests.
* | Issue #1692335: Move initial args assignment to BaseException.__new__Richard Oudkerk2012-07-281-1/+10
| | | | | | | | to help pickling of naive subclasses.
* | Add unused parameter to a METH_NOARGS function.Stefan Krah2012-07-281-5/+5
| |
* | Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays.Stefan Krah2012-07-284-65/+71
| |
* | Issue #15456: Fix code __sizeof__ after #12399 change.Martin v. Löwis2012-07-261-1/+17
| | | | | | | | Patch by Serhiy Storchaka.
* | Merge 3.2Andrew Svetlov2012-07-201-1/+3
|\ \ | |/
| * Issue #15404: Refleak in PyMethodObject repr.Andrew Svetlov2012-07-201-1/+3
| |
* | Issue #15394: Fix ref leaks in PyModule_Create.Meador Inge2012-07-191-1/+7
|\ \ | |/ | | | | Patch by Julia Lawall.
| * Issue #15394: Fix ref leaks in PyModule_Create.Meador Inge2012-07-191-1/+7
| | | | | | | | Patch by Julia Lawall.
* | Use correct types for ASCII_CHAR_MASK integer constants.Mark Dickinson2012-07-073-6/+6
| |
* | Issue #15229: An OSError subclass whose __init__ doesn't call backAntoine Pitrou2012-06-301-0/+6
| | | | | | | | | | OSError.__init__ could produce incomplete instances, leading to crashes when calling str() on them.
* | Issue #15055: update dictnotes.txt. Patch by Mark Shannon.Antoine Pitrou2012-06-242-44/+18
| |
* | Try to fix crash on x86 OpenIndiana buildbot.Antoine Pitrou2012-06-231-1/+2
| |
* | Replace assert() with a more informative fatal error.Antoine Pitrou2012-06-231-1/+6
| |
* | Use struct member (ht_type) instead of casting pointers.Antoine Pitrou2012-06-231-12/+12
| |
* | Issue #15146: Add PyType_FromSpecWithBases. Patch by Robin Schreiber.Martin v. Löwis2012-06-231-4/+76
| |
* | Issue #14923: Optimize continuation-byte check in UTF-8 decoding. Patch by ↵Mark Dickinson2012-06-231-6/+10
| | | | | | | | Serhiy Storchaka.