summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* Issue #16060: Fix a double DECREF in int() implementation. Thanks Serhiy ↵Mark Dickinson2012-09-271-4/+3
| | | | Storchaka.
* Fixed memory leak in error branch of formatfloat(). CID 719687Christian Heimes2012-09-101-1/+3
|
* Issue #15900: Fixed reference leak in PyUnicode_TranslateCharmap()Christian Heimes2012-09-111-6/+5
|
* 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 #15784: Modify OSError.__str__() to better distinguish betweenRichard Oudkerk2012-08-281-2/+2
| | | | errno error numbers and Windows error numbers.
* 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.
* | Issue #15142: Fix reference leak when deallocating instances of types ↵Antoine Pitrou2012-06-231-0/+6
|\ \ | |/ | | | | created using PyType_FromSpec().
| * Issue #15142: Fix reference leak when deallocating instances of types ↵Antoine Pitrou2012-06-231-0/+6
| | | | | | | | created using PyType_FromSpec().
* | Issue #14785: Add sys._debugmallocstats() to help debug low-level memory ↵David Malcolm2012-06-2210-33/+142
| | | | | | | | allocation issues
* | Make private function static (from `make smelly`)Antoine Pitrou2012-06-211-1/+1
| |
* | Issue #13783: PEP 380 cleanup part 2, using the new identifier APIs in the ↵Nick Coghlan2012-06-171-2/+4
| | | | | | | | generator implementation
* | Issue #13783: the PEP 380 implementation no longer expands the public C APINick Coghlan2012-06-172-9/+4
| |
* | Issue #14874: Restore charmap decoding speed to pre-PEP 393 levels.Antoine Pitrou2012-06-161-15/+48
| | | | | | | | Patch by Serhiy Storchaka.
* | _copy_characters(): move debug code at the top to avoid noisy #ifdefVictor Stinner2012-06-161-26/+23
| | | | | | | | | | And don't use assert() anymore if check_maxchar is set: return -1 on error instead.
* | Fix PyUnicode_GetSize(): Don't replace _PyUnicode_Ready() exceptionVictor Stinner2012-06-161-2/+3
| |
* | Fix a compiler warning in _copy_characters() and remove debug codeVictor Stinner2012-06-161-10/+1
| |
* | Oops, fix my previous change on _copy_characters()Victor Stinner2012-06-161-2/+2
| |
* | Fix unicode_adjust_maxchar(): catch PyUnicode_New() failureVictor Stinner2012-06-161-1/+2
| |
* | Fix "%f" format of str%args if the result is not an ASCII or latin1 stringVictor Stinner2012-06-161-17/+19
| |
* | Remove debug codeVictor Stinner2012-06-161-8/+0
| |