5250 Commits (fbffdef47dd711d2441ff415f00c72ae7102e80f)

Author SHA1 Message Date
Raymond Hettinger fbffdef47d Issue #24762: Speed-up frozenset_hash() and greatly beef-up the comments. 11 years ago
Raymond Hettinger daffc916aa Issue #24681: Move the most likely test first in set_add_entry(). 11 years ago
Raymond Hettinger 70559b5c20 Issue #24681: Move the store of so->table to the code block where it is used. 11 years ago
Serhiy Storchaka d92d4efe3d Issue #23573: Restored optimization of bytes.rfind() and bytearray.rfind() 11 years ago
Raymond Hettinger ff9e18a863 Issue #24583: Consolidate previous set object updates into a single function 11 years ago
Raymond Hettinger 482c05cbb5 Issue #24583: Fix refcount leak. 11 years ago
Raymond Hettinger 061091a7c5 Issue #24583: Fix crash when set is mutated while being updated. 11 years ago
Raymond Hettinger a3626bc5bd Issue #24583: Fix crash when set is mutated while being updated. 11 years ago
Raymond Hettinger 5d2385ff6f Neaten-up a little bit. 11 years ago
Raymond Hettinger 9632a7d735 Issue 24581: Revert c9782a9ac031 pending a stronger test for mutation during iteration. 11 years ago
Raymond Hettinger 11ce8e6c37 Minor bit of factoring-out common code. 11 years ago
Raymond Hettinger 3dbc11cadd Tighten-up code in the set iterator to use an entry pointer rather than indexing. 11 years ago
Raymond Hettinger ef6bd7d963 Tighten-up code in set_next() to use an entry pointer rather than indexing. 11 years ago
Raymond Hettinger b48d6a63ff Bring related functions add/contains/discard together in the code. 11 years ago
Raymond Hettinger 73799b181e Change add/contains/discard calls to pass the key and hash instead of an entry struct. 11 years ago
Raymond Hettinger dc28d5a198 Clean-up call patterns for add/contains/discard to better match the caller's needs. 11 years ago
Benjamin Peterson a82f77fb00 protect against mutation of the dict during insertion (closes #24407) 11 years ago
Raymond Hettinger ac2ef65c32 Make the unicode equality test an external function rather than in-lining it. 11 years ago
Raymond Hettinger e186c7674c Make sure the dummy percentage calculation won't overflow. 11 years ago
Raymond Hettinger c2480dc0c4 Minor cleanup. 11 years ago
Raymond Hettinger b322326f48 Minor nit: Make the style of checking error return values more consistent. 11 years ago
Raymond Hettinger 4897300276 Minor factoring: move redundant resize scaling logic into the resize function. 11 years ago
Raymond Hettinger 3c1f52e829 Call set_lookkey() directly to avoid unnecessary memory spills and reloads. 11 years ago
Raymond Hettinger 15f0869609 Move insertion resize logic into set_insert_key(). 11 years ago
Yury Selivanov f488fb422a Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. 11 years ago
Yury Selivanov e13f8f3cab Issue #24450: Add gi_yieldfrom to generators; cr_await to coroutines. 11 years ago
Serhiy Storchaka 7b6e3b91f5 Issue #24467: Fixed possible buffer over-read in bytearray. The bytearray 11 years ago
Raymond Hettinger 2eff9e9441 Minor refactoring. Move reference count logic into function that adds entry. 11 years ago
Benjamin Peterson 4801383c29 upgrade to Unicode 8.0.0 11 years ago
Raymond Hettinger 91672617d5 Minor tweeak to tighten the inner-loop. 11 years ago
Yury Selivanov 66f8828bfc Issue #24439: Improve PEP 492 related docs. 11 years ago
Raymond Hettinger 38bb95e49d Minor code cleanup. 11 years ago
Yury Selivanov 5376ba9630 Issue #24400: Introduce a distinct type for 'async def' coroutines. 11 years ago
Raymond Hettinger 7e3592dca6 Harmonize the bottom of the outer loop with its entry point 11 years ago
Raymond Hettinger 6ee588f14e Restore quick exit (no freeslot check) for common case (found null on first probe). 11 years ago
Serhiy Storchaka d741a88049 Fixed indentation of Python examples in C comments. 11 years ago
Benjamin Peterson 0718de9770 repair my irrational excuberance 11 years ago
Benjamin Peterson 99e96f2bb0 remove unnecessary braces and indentation 11 years ago
Benjamin Peterson 2ad80f53c1 fix refleak when keys() fails 11 years ago
Eric Snow 4fabf02633 Issue #24369: Defend against key-changes during iteration. 11 years ago
Eric Snow db4061cb9d Issue #24377: Fix a ref leak in OrderedDict.__repr__. 11 years ago
Eric Snow 4c72918a59 Issue #24362: Simplify the C OrderedDict fast nodes resize logic. 11 years ago
Eric Snow ac02ef373f Issue #24368: Support keyword arguments in OrderedDict methods. 11 years ago
Eric Snow b952ab43f2 Issue #24359: Check for changed OrderedDict size during iteration. 11 years ago
Eric Snow d171975609 Issue #24348: Drop superfluous increfs/decrefs. 11 years ago
Eric Snow a762af74b2 Issue #24347: Set KeyError if PyDict_GetItemWithError returns NULL. 11 years ago
Benjamin Peterson 0969a9f8ab add Py_tp_finalize slot (closes #24345) 11 years ago
Serhiy Storchaka d4ea03c785 Issue #24284: The startswith and endswith methods of the str class no longer 11 years ago
Eric Snow e3dfa9e5ce Issue #16991: Fix a few leaks and other memory-related concerns in OrderedDict. 11 years ago
Eric Snow 67fb92e8c6 Issue #16991: Do not return None from OrderedDict.__reversed__. 11 years ago