summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo.Ezio Melotti2012-09-281-2/+2
|
* Issue #16060: Fix a double DECREF in int() implementation. Thanks Serhiy ↵Mark Dickinson2012-09-271-4/+3
| | | | Storchaka.
* Issue #15379: Fix passing of non-BMP characters as integers for the charmap ↵Antoine Pitrou2012-09-231-3/+4
|\ | | | | | | | | | | decoder (already working as unicode strings). Patch by Serhiy Storchaka.
| * Issue #15379: Fix passing of non-BMP characters as integers for the charmap ↵Antoine Pitrou2012-09-231-2/+26
| | | | | | | | | | | | decoder (already working as unicode strings). Patch by Serhiy Storchaka.
* | Issue 15959: Merge from 3.2.Mark Dickinson2012-09-201-1/+1
|\ \ | |/
| * Issue 15959: Fix type mismatch for quick{_neg}_int_allocs. Thanks Serhiy ↵Mark Dickinson2012-09-201-1/+1
| | | | | | | | Storchaka.
* | Issue #15144: Fix possible integer overflow when handling pointers as ↵Antoine Pitrou2012-09-205-32/+18
| | | | | | | | | | | | integer values, by using Py_uintptr_t instead of size_t. Patch by Serhiy Storchaka.
* | Silence compiler warnings on Solaris 10 via explicit (void *) casts.Trent Nelson2012-09-191-3/+3
|\ \ | |/
| * Silence compiler warnings on Solaris 10 via explicit (void *) casts.Trent Nelson2012-09-191-3/+3
| | | | | | | | (Compiler: Solaris Studio 12.3)
* | Fix out of bounds read in long_new() for empty bytes with an explicit base. ↵Christian Heimes2012-09-121-2/+2
|\ \ | |/ | | | | int(b'', somebase) calls PyLong_FromString() with char* of length 1 but the function accesses the first argument at offset 1. CID 715359
| * Fix out of bounds read in long_new() for empty bytes with an explicit base. ↵Christian Heimes2012-09-121-2/+2
| | | | | | | | int(b'', somebase) calls PyLong_FromString() with char* of length 1 but the function accesses the first argument at offset 1. CID 715359
* | Issue #15900: Fixed reference leak in PyUnicode_TranslateCharmap()Christian Heimes2012-09-111-6/+5
| |
* | Fixed memory leak in error branch of object_repr which may leak a reference ↵Christian Heimes2012-09-101-1/+3
|\ \ | |/ | | | | to mod when type_qualname returns NULL. CID 715371
| * Fixed memory leak in error branch of object_repr which may leak a reference ↵Christian Heimes2012-09-101-1/+3
| | | | | | | | to mod when type_name returns NULL. CID 715371
* | 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
| |