77 Commits (3fc5d84046ddbd66abac5b598956ea34605a4e5d)

Author SHA1 Message Date
Victor Stinner bcb094b41f
bpo-43268: Pass interp rather than tstate to internal functions (GH-24580) 5 years ago
Victor Stinner c9bc290dd6
bpo-42161: Use _PyLong_GetZero() and _PyLong_GetOne() (GH-22995) 5 years ago
Victor Stinner 522691c46e
bpo-40521: Cleanup code of free lists (GH-21082) 6 years ago
Victor Stinner 7daba6f221
bpo-40521: Make slice cache per-interpreter (GH-20637) 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
Victor Stinner a15e260b70
bpo-40170: Add _PyIndex_Check() internal function (GH-19426) 6 years ago
Victor Stinner bed4817d52
Make PyXXX_Fini() functions private (GH-15531) 6 years ago
Jeroen Demeyer 530f506ac9 bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 7 years ago
Victor Stinner dcb68f47f7
bpo-35961: Fix a crash in slice_richcompare() (GH-11830) 7 years ago
Victor Stinner bcda8f1d42
bpo-35081: Add Include/internal/pycore_object.h (GH-10640) 7 years ago
Victor Stinner 621cebe81b
bpo-35081: Rename internal headers (GH-10275) 7 years ago
Victor Stinner 27e2d1f219
bpo-35081: Add pycore_ prefix to internal header files (GH-10263) 7 years ago
Siddhesh Poyarekar 55edd0c185 bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 8 years ago
Eric Snow 2ebc5ce42a bpo-30860: Consolidate stateful runtime globals. (#3397) 8 years ago
Serhiy Storchaka 6cca5c8459 bpo-30592: Fixed error messages for some builtins. (#1996) 9 years ago
Xiang Zhang 2ddf5a19c3 bpo-30281: Fix the default value for stop in PySlice_Unpack() (#1480) 9 years ago
Serhiy Storchaka ba85d69a3e bpo-29878: Add global instances of int for 0 and 1. (#852) 9 years ago
Serhiy Storchaka b2a5be0763 Issue #27867: Function PySlice_GetIndicesEx() is replaced with a macro if 9 years ago
Serhiy Storchaka 5ab81d787f Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of dict. 9 years ago
Benjamin Peterson b0c04cb98c fix slice cache finalization to use gc del 10 years ago
Benjamin Peterson 2b601d3905 add gc support to slice (closes #26659) 10 years ago
Alexandre Vassalotti c49477b184 Make Ellipsis and NotImplemented picklable through the reduce protocol. 12 years ago
Mark Dickinson ffdb2c21b3 Issue #16451: Refactor to remove duplication between range and slice in slice index computations. 13 years ago
Mark Dickinson c8a6967ea8 Issue #14794: slice.indices no longer returns OverflowError for out-of-range start, stop, step or length. 13 years ago
Chris Jerdonek ad4b000179 Issue #14783: Backport changes from 3.2. 13 years ago
Chris Jerdonek 83fe2e1c22 Issue #14783: Improve int() docstring and also str(), range(), and slice(). 13 years ago
Antoine Pitrou f34a0cdc6c Issue #10227: Add an allocation cache for a single slice object. 14 years ago
Benjamin Peterson 2963fe0711 plug possible refleak (closes #13199) 14 years ago
Brian Curtin dfc80e3d97 Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED. 15 years ago
Benjamin Peterson c4607aeedd make the types of None and Ellipsis callable 15 years ago
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 15 years ago
Benjamin Peterson 23d05c1d98 use helper hash unimplemented function 15 years ago
Mark Dickinson e6fc7401a9 In PySlice_IndicesEx, clip the step to [-PY_SSIZE_T_MAX, PY_SSIZE_T_MAX] rather than [PY_SSIZE_T_MIN, PY_SSIZE_T_MAX]. 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Benjamin Peterson fd838e6c84 Merged revisions 71734,71738-71739 via svnmerge from 17 years ago
Benjamin Peterson c485361f61 Merged revisions 71734,71738-71739 via svnmerge from 17 years ago
Benjamin Peterson 01c6e6fb35 many more types to initialize (I had to expose some of them) 17 years ago
Mark Dickinson e94c679df0 Issue #1717: rename tp_compare to tp_reserved. I'll change the 17 years ago
Benjamin Peterson fea6a94b3b Merged revisions 64365,64370,64406,64408-64409,64412,64416-64417,64420-64421,64425-64428 via svnmerge from 18 years ago
Mark Dickinson 1ec2fcd16e Issue #3004: Minor fix to slice.indices(). slice(-10).indices(9) now 18 years ago
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread: 18 years ago
Christian Heimes 593daf545b Renamed PyString to PyBytes 18 years ago
Christian Heimes 90aa7646af #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. 18 years ago
Christian Heimes e93237dfcc #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 18 years ago
Christian Heimes 217cfd1c86 Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 18 years ago