76 Commits (efcf82f94572abcdbd70336e0b2c3d0f4df280bc)

Author SHA1 Message Date
Serhiy Storchaka bb86bf4c4e
bpo-35444: Unify and optimize the helper for getting a builtin object. (GH-11047) 8 years ago
Serhiy Storchaka 62be74290a
bpo-33012: Fix invalid function cast warnings with gcc 8. (GH-6749) 8 years ago
Serhiy Storchaka 81524022d0
bpo-33012: Fix signatures of METH_NOARGS funstions. (GH-10736) 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 50b48572d9
bpo-35081: Add _PyThreadState_GET() internal macro (GH-10266) 8 years ago
Victor Stinner 27e2d1f219
bpo-35081: Add pycore_ prefix to internal header files (GH-10263) 8 years ago
Sergey Fedoseev a5259fb05d bpo-34574: Prevent OrderedDict iterators from exhaustion during pickling. (GH-9051) 8 years ago
Serhiy Storchaka 6f17e51345 bpo-33712: OrderedDict only creates od_fast_nodes cache if needed (GH-7349) 8 years ago
Robert Krzyzanowski 6f19fc6d56 fix two typos in Objects/odictobject.c comments (GH-8040) 8 years ago
Siddhesh Poyarekar 55edd0c185 bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 8 years ago
Serhiy Storchaka 827d49f3cf
bpo-33031: Remove dead code in C implementation of OrderedDict. (GH-6120) 8 years ago
oldk aa0735f597 bpo-32747: Remove trailing spaces in docstrings. (GH-5491) 8 years ago
Serhiy Storchaka f320be77ff bpo-32571: Avoid raising unneeded AttributeError and silencing it in C code (GH-5222) 9 years ago
Serhiy Storchaka 60c3d3551a
bpo-31572: Get rid of _PyObject_HasAttrId() in dict and OrderedDict. (#3728) 9 years ago
Serhiy Storchaka e2f92de6a9
Add the const qualifier to "char *" variables that refer to literal strings. (#4370) 9 years ago
Serhiy Storchaka 4ab46d7949 bpo-31497: Add private helper _PyType_Name(). (#3630) 9 years ago
Eric Snow 2ebc5ce42a bpo-30860: Consolidate stateful runtime globals. (#3397) 9 years ago
Jonathan Eunice faa57cbe70 bpo-30662: fixed OrderedDict.__init__ docstring re PEP 468 (#2179) 9 years ago
INADA Naoki 778928b0c7 bpo-29304: Simplify dict lookup functions (GH-2407) 9 years ago
Serhiy Storchaka 1a5856bf92 bpo-29867: Add asserts in PyTuple_GET_SIZE, PyList_GET_SIZE and PySet_GET_SIZE. (#751) 9 years ago
Serhiy Storchaka 78d9e58f20 Issues #29311, #29289: Fixed and improved docstrings for dict and OrderedDict 10 years ago
Serhiy Storchaka a70eaf21e3 Issue #29289: Argument Clinic generates reasonable name for the parameter "default". 10 years ago
Victor Stinner b05cbac052 Convert some OrderedDict methods to Argument Clinic 10 years ago
Martin Panter 536d70ed33 Fix grammar, typos and markup in documentation and code comments 10 years ago
Serhiy Storchaka 5ab81d787f Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of dict. 10 years ago
INADA Naoki ba6097734d Issue #28818: Simplify lookdict functions 10 years ago
Victor Stinner f17c3de263 Use _PyObject_CallNoArg() 10 years ago
Victor Stinner de4ae3d486 Backed out changeset b9c9691c72c5 10 years ago
Victor Stinner 27580c1fb5 Replace PyObject_CallFunctionObjArgs() with fastcall 10 years ago
Serhiy Storchaka 0438683939 Backed out changeset 9f7505019767 (issue #27275). 10 years ago
Serhiy Storchaka 4832580596 Issue #27275: Fixed implementation of pop() and popitem() methods in 10 years ago
Eric Snow 06aed90a1f Issue #27576: Fix call order in OrderedDict.__init__(). 10 years ago
Eric Snow 4f29e75289 Issue #24254: Drop cls.__definition_order__. 10 years ago
Benjamin Peterson ee178e6d6e fix spelling 10 years ago
Victor Stinner 742da040db Implement compact dict 10 years ago
Eric Snow 92a6c170e6 Issue #24254: Preserve class attribute definition order. 10 years ago
Martin Panter 69332c1a64 Fix spelling and grammar in documentation and code comments 10 years ago
Victor Stinner e18719509f odict: Remove useless ";" after function definition 10 years ago
Serhiy Storchaka d2962f145a Issue #25949: __dict__ for an OrderedDict instance is now created only when 10 years ago
Serhiy Storchaka d205d0145c Issue #25935: Garbage collector now breaks reference loops with OrderedDict. 11 years ago
Serhiy Storchaka 0ce7a3a34c Issue #25914: Fixed and simplified OrderedDict.__sizeof__. 11 years ago
Serhiy Storchaka 5c4064e8bd Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size. 11 years ago
Serhiy Storchaka 19a70e7f5d Issue #25462: The hash of the key now is calculated only once in most 11 years ago
Serhiy Storchaka 97f46db904 Issue #25410: Made testing that od_fast_nodes and dk_entries are in sync more 11 years ago
Serhiy Storchaka d5f353ec8d Issue #24726: Revert setting the value on the dict if 11 years ago
Serhiy Storchaka 9c967611e3 Issue #25558: Refactoring OrderedDict iteration. 11 years ago
Serhiy Storchaka 710cd34bdb Issue #25449: Fixed a crash and leaking NULL in repr() of OrderedDict that 11 years ago
Serhiy Storchaka b45b7b2137 Issue #25449: Iterating OrderedDict with keys with unstable hash now raises 11 years ago
Serhiy Storchaka 14eefe353e Issue #25395: Fixed crash when highly nested OrderedDict structures were 11 years ago