392 Commits (e8239b8e8199b76ef647ff3bf080ce2eb7733e04)

Author SHA1 Message Date
sth f8b534477a closes bpo-35623: Fix integer overflow when sorting large lists (GH-11380) 8 years ago
Sergey Fedoseev 0e5f771f38 bpo-33234: Simplify list_preallocate_exact() (GH-11220) 8 years ago
Serhiy Storchaka bb86bf4c4e
bpo-35444: Unify and optimize the helper for getting a builtin object. (GH-11047) 8 years ago
Victor Stinner bcda8f1d42
bpo-35081: Add Include/internal/pycore_object.h (GH-10640) 8 years ago
Victor Stinner 621cebe81b
bpo-35081: Rename internal headers (GH-10275) 8 years ago
Victor Stinner e281f7d80c
bpo-35081: Move accu.h to Include/internal/pycore_accu.h (GH-10271) 8 years ago
Victor Stinner 27e2d1f219
bpo-35081: Add pycore_ prefix to internal header files (GH-10263) 8 years ago
Pablo Galindo 372d705d95
bpo-33234 Improve list() pre-sizing for inputs with known lengths (GH-9846) 8 years ago
Raymond Hettinger f1aa8aed4a
Micro-optimize list index range checks (GH-9784) 8 years ago
Sergey Fedoseev 2fc46979b8 bpo-34151: Improve performance of some list operations (GH-8332) 8 years ago
Victor Stinner caba55b3b7
bpo-34301: Add _PyInterpreterState_Get() helper function (GH-8592) 8 years ago
Siddhesh Poyarekar 55edd0c185 bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 8 years ago
Eddie Elizondo 745dc65b17 closes bpo-32898: Fix debug build crash with COUNT_ALLOCS (GH-5800) 8 years ago
Victor Stinner 8017b804a0
bpo-28685: Fix compiler warning (GH-5423) 8 years ago
embg 1e34da49ef bpo-28685: Optimize sorted() list.sort() with type-specialized comparisons (#582) 8 years ago
Serhiy Storchaka 1fb72d2ad2
bpo-32137: The repr of deeply nested dict now raises a RecursionError (#4570) 9 years ago
Victor Stinner 25420fe290
bpo-32030: Add more options to _PyCoreConfig (#4485) 9 years ago
stratakis e8b1965639 bpo-23699: Use a macro to reduce boilerplate code in rich comparison functions (GH-793) 9 years ago
Eric Snow 2ebc5ce42a bpo-30860: Consolidate stateful runtime globals. (#3397) 9 years ago
Serhiy Storchaka b879fe82e7 Expand the PySlice_GetIndicesEx macro. (#1023) 9 years ago
Serhiy Storchaka 80ec8364f1 bpo-29748: Added the slice index converter in Argument Clinic. (#549) 9 years ago
Serhiy Storchaka 202fda55c2 bpo-24037: Add Argument Clinic converter `bool(accept={int})`. (#485) 9 years ago
Serhiy Storchaka fdd42c481e bpo-20185: Convert list object implementation to Argument Clinic. (#542) 9 years ago
Serhiy Storchaka 2e5642422f bpo-29695: Remove bad keyword parameters in int(), bool(), float(), list() and tuple(). (#518) 9 years ago
Serhiy Storchaka 58d23e6806 bpo-29695: Deprecated using bad named keyword arguments in builtings: (#486) 9 years ago
Xiang Zhang 4cee049f5b bpo-27660: remove unnecessary overflow checks in list_resize (GH-189) 9 years ago
Serhiy Storchaka 228b12edcc Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever 10 years ago
Serhiy Storchaka 7cf8bebb07 Issue #29331: Simplified argument parsing in sorted() and list.sort(). 10 years ago
Martin Panter 94b39ceb73 Issue #1621: Overflow should not be possible in listextend() 10 years ago
Victor Stinner de4ae3d486 Backed out changeset b9c9691c72c5 10 years ago
Victor Stinner 27580c1fb5 Replace PyObject_CallFunctionObjArgs() with fastcall 10 years ago
Benjamin Peterson 5a7d923e75 make sure to not call memcpy with a NULL second argument 10 years ago
Benjamin Peterson 2f8bfef158 replace PY_SIZE_MAX with SIZE_MAX 10 years ago
Mark Dickinson 5d13238f6e Issue #27662: don't use PY_SIZE_MAX for overflow checking in List_New. Patch by Xiang Zhang. 10 years ago
Martin Panter b93d8637a6 Issue #1621: Avoid signed overflow in list and tuple operations 10 years ago
Serhiy Storchaka 7e160ce356 Issue #23034: The output of a special Python build with defined COUNT_ALLOCS, 10 years ago
Serhiy Storchaka fbb1c5ee06 Issue #26494: Fixed crash on iterating exhausting iterators. 10 years ago
Raymond Hettinger 0dceb91866 Tests versus zero are more compact than tests versus -1. 11 years ago
Serhiy Storchaka 1ed017ae92 Issue #20440: Cleaning up the code by using Py_SETREF and Py_CLEAR. 11 years ago
Serhiy Storchaka 5c4064e8bd Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size. 11 years ago
Benjamin Peterson 0823ffb2fb properly handle malloc failure (closes #24044) 11 years ago
Benjamin Peterson b808d590a2 fix merge_collapse to actually maintain the invariant it purports to (closes #23515) 11 years ago
Terry Jan Reedy ffff1440d1 Issue #22077: Improve index error messages for bytearrays, bytes, lists, and 12 years ago
Benjamin Peterson 4a42cd48d5 avoid referencing past the bounds of an array 12 years ago
Benjamin Peterson ef87f8cb57 avoid referencing out-of-bounds memory 12 years ago
Kristján Valur Jónsson 25dded041f Make the various iterators' "setstate" sliently and consistently clip the 12 years ago
Victor Stinner 35f2803a24 Close #19578: Fix list_ass_subscript(), handle list_resize() failure 13 years ago
Victor Stinner 4a58707a34 Add _PyUnicodeWriter_WriteASCIIString() function 13 years ago
Victor Stinner 4d3f109ad3 Issue #19513: Disable overallocation of the PyUnicodeWriter before the last write 13 years ago
Victor Stinner b8fb197aa0 Issue #19513: Simplify list_repr() 13 years ago