97 Commits (eaccc12aa986f92ea05f3f0a63cedbff78dd67f1)

Author SHA1 Message Date
Victor Stinner 32bd68c839
bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587) 5 years ago
Victor Stinner 37834136d0
bpo-42161: Modules/ uses _PyLong_GetZero() and _PyLong_GetOne() (GH-22998) 5 years ago
Zackery Spytz cd3c2bdd5d
bpo-31082: Use "iterable" in the docstring for functools.reduce() (GH-20796) 6 years ago
Victor Stinner 384621c42f
bpo-41078: Rename pycore_tupleobject.h to pycore_tuple.h (GH-21056) 6 years ago
Hai Shi 47a23fc63f
bpo-40898: Remove redundant if statements in tp_traverse (GH-20692) 6 years ago
Dennis Sweeney 1253c3ef70
bpo-40504: Allow weakrefs to lru_cache objects (GH-19938) 6 years ago
Raymond Hettinger bba760e9b6
Fix uninitialized struct member (GH-19589) 6 years ago
Victor Stinner d9ea5cae1d
bpo-40268: Remove unused pycore_pymem.h includes (GH-19531) 6 years ago
Victor Stinner 4a21e57fe5
bpo-40268: Remove unused structmember.h includes (GH-19530) 6 years ago
Victor Stinner e5014be049
bpo-40268: Remove a few pycore_pystate.h includes (GH-19510) 6 years ago
Ethan Smith cecf049673
bpo-39481: Make functools.cached_property, partial, partialmethod generic (#19427) 6 years ago
Paulo Henrique Silva eacc074395
bpo-40071: Fix potential crash in _functoolsmodule.c (GH-19273) 6 years ago
Paulo Henrique Silva b09ae3ff43
bpo-40071: Fix refleak in _functools module (GH19172) 6 years ago
Paulo Henrique Silva 7dd549eb08
bpo-1635741: Port _functools module to multiphase initialization (PEP 489) (GH-19151) 6 years ago
Dong-hee Na 05e4a296ec
bpo-40024: Add PyModule_AddType() helper function (GH-19088) 6 years ago
Andy Lester 557287075c
bpo-39573: Use Py_IS_TYPE() macro to check for types (GH-18809) 6 years ago
Dong-hee Na 1b55b65638
bpo-39573: Clean up modules and headers to use Py_IS_TYPE() function (GH-18521) 6 years ago
Petr Viktorin ffd9753a94
bpo-39245: Switch to public API for Vectorcall (GH-18460) 6 years ago
Victor Stinner a93c51e3a8
bpo-39573: Use Py_REFCNT() macro (GH-18388) 6 years ago
Victor Stinner 7e43373317
bpo-38644: Add _PyObject_VectorcallTstate() (GH-17052) 6 years ago
Jeroen Demeyer ed184c06e2 bpo-37358: Use vectorcall for functools.partial (GH-14284) 7 years ago
Sergey Fedoseev e5f6207ba6 bpo-34303: Micro-optimizations in functools.reduce() (GH-8598) 7 years ago
Jeroen Demeyer 530f506ac9 bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 7 years ago
Jeroen Demeyer c145f3bfbe bpo-36974: remove _PyObject_HasFastCall (GH-13460) 7 years ago
Jeroen Demeyer eb65e2443a bpo-36922: implement PEP-590 Py_TPFLAGS_METHOD_DESCRIPTOR (GH-13338) 7 years ago
Raymond Hettinger 14adbd4598
bpo-36650: Fix handling of empty keyword args in C version of lru_cache. (GH-12881) 7 years ago
Raymond Hettinger 2dda72a2e8 lru_cache: Add more comments. Fix comment typos. Clarify a comment. (GH-11795) 7 years ago
Raymond Hettinger ffdf1c30ab
Consistently move the misses update to just before the user function call (GH-11715) 7 years ago
Raymond Hettinger d8080c0119
bpo-35780: Fix errors in lru_cache() C code (GH-11623) 7 years ago
Serhiy Storchaka 62be74290a
bpo-33012: Fix invalid function cast warnings with gcc 8. (GH-6749) 7 years ago
Victor Stinner ec13b9322d
bpo-35081: Add Include/internal/pycore_tupleobject.h (GH-10705) 7 years ago
Victor Stinner 621cebe81b
bpo-35081: Rename internal headers (GH-10275) 7 years ago
Victor Stinner d17a693fa0
bpo-35199: Add an internal _PyTuple_ITEMS() macro (GH-10434) 7 years ago
Victor Stinner 27e2d1f219
bpo-35081: Add pycore_ prefix to internal header files (GH-10263) 7 years ago
INADA Naoki 3070b71e5e
bpo-32422: Reduce lru_cache memory usage (GH-5008) 8 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
INADA Naoki a6296d34a4 bpo-31095: fix potential crash during GC (GH-2974) 9 years ago
Serhiy Storchaka ba85d69a3e bpo-29878: Add global instances of int for 0 and 1. (#852) 9 years ago
Serhiy Storchaka 3c749fc867 Simplify partial.__new__. (#813) 9 years ago
Michael Seifert 6c3d527468 bpo-29800: Fix crashes in partial.__repr__ if the keys of partial.keywords are not strings (#649) 9 years ago
Victor Stinner 0f7b0b397e bpo-29735: Optimize partial_call(): avoid tuple (#516) 9 years ago
Victor Stinner 561ca80cff Document why functools.partial() must copy kwargs (#253) 9 years ago
Serhiy Storchaka 9639e4ab6d bpo-29532: Altering a kwarg dictionary passed to functools.partial() (#190) 9 years ago
Serhiy Storchaka 67796521dd Issue #28969: Fixed race condition in C implementation of functools.lru_cache. 9 years ago
Raymond Hettinger 68191f8a9c Backed out changeset ea064ff3c10f 9 years ago
Raymond Hettinger 9d60b94427 Sync-up lru_cache() C code with space saving feature in the Python version. 9 years ago
Raymond Hettinger dda44682c6 Complete the merge for issue #29203 9 years ago
Raymond Hettinger 4ee39141e8 Issue #29203: functools.lru_cache() now respects PEP 468 9 years ago
Serhiy Storchaka 5ab81d787f Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of dict. 9 years ago