52 Commits (34de2d312b3687994ddbc29adb66e88f672034c7)

Author SHA1 Message Date
Serhiy Storchaka bb86bf4c4e
bpo-35444: Unify and optimize the helper for getting a builtin object. (GH-11047) 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
Victor Stinner 559bb6a713 Rename _PyObject_FastCall() to _PyObject_FastCallDict() 9 years ago
Victor Stinner 99ee9c70a7 calliter_iternext() now uses fast call 9 years ago
Serhiy Storchaka fbb1c5ee06 Issue #26494: Fixed crash on iterating exhausting iterators. 10 years ago
Serhiy Storchaka 4faf5c5655 Issue #23985: Fixed integer overflow in iterator object. Patch by 11 years ago
Serhiy Storchaka 009b811d67 Removed unintentional trailing spaces in non-external and non-generated C files. 11 years ago
Victor Stinner e0b99ba140 Close #17932: Fix an integer overflow issue on Windows 64-bit in iterators: 13 years ago
Armin Ronacher 23c5bb4030 Fixed a missing incref introduced by a7ec0a1b0f7c 13 years ago
Armin Ronacher aa9a79d279 Issue #16148: implemented PEP 424 13 years ago
Antoine Pitrou a701388de1 Rename _PyIter_GetBuiltin to _PyObject_GetBuiltin, and do not include it in the stable ABI. 14 years ago
Kristján Valur Jónsson 31668b8f7a Issue #14288: Serialization support for builtin iterators. 14 years ago
Raymond Hettinger 1b66996281 Fix nit (sentinel on lhs of comparison). 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
Mark Dickinson e94c679df0 Issue #1717: rename tp_compare to tp_reserved. I'll change the 17 years ago
Raymond Hettinger 736c0ab428 Move itertools izip() code to builtins as zip(). Complete the renaming. 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 217cfd1c86 Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 18 years ago
Christian Heimes a22e8bdfd9 Added all PyTypeObjects to the appropriate header files. 18 years ago
Christian Heimes f83be4e3f3 Added view and iterator types to collections / _abcoll 18 years ago
Martin v. Löwis 9f2e346911 Merged revisions 56467-56482 via svnmerge from 19 years ago
Martin v. Löwis 6819210b9e PEP 3123: Provide forward compatibility with Python 3.0, while keeping 19 years ago
Martin v. Löwis 21298cfea6 Remove bogus INCREF of ziptuple: it is a 19 years ago
Guido van Rossum 59baa759e4 The daily ritual: fix C89 violations. 20 years ago
Guido van Rossum b65fb33b02 SF patch 1546297 (with some tweaks): 20 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 20 years ago
Thomas Wouters c6e55068ca Use Py_VISIT in all tp_traverse methods, instead of traversing manually or 20 years ago
Georg Brandl 347b30042b Remove unnecessary casts in type object initializers. 20 years ago
Martin v. Löwis eb079f1c25 Use Py_ssize_t for counts and sizes. 20 years ago
Martin v. Löwis 18e165558b Merge ssize_t branch. 20 years ago
Armin Rigo f5b3e36493 Renamed _length_cue() to __length_hint__(). See: 20 years ago
Raymond Hettinger 6b27cda643 Convert iterator __len__() methods to a private API. 21 years ago
Raymond Hettinger 75ccea3777 SF patch #1020188: Use Py_CLEAR where necessary to avoid crashes 22 years ago
Raymond Hettinger 7892b1c651 * Add unittests for iterators that report their length 22 years ago
Raymond Hettinger 435bf58b7b Make iterators length transparent where possible. 22 years ago
Walter Dörwald 03f6c54359 Whitespace normalization. 23 years ago
Raymond Hettinger 1da1dbf458 Renamed PyObject_GenericGetIter to PyObject_SelfIter 23 years ago
Raymond Hettinger 0153826964 Created PyObject_GenericGetIter(). 23 years ago
Guido van Rossum 84b2bed435 Squash a few calls to the hideously expensive PyObject_CallObject(o,a) 24 years ago
Raymond Hettinger 48923c5533 Moved special case for tuples from iterobject.c to 24 years ago
Guido van Rossum 613bed3726 Make StopIteration a sink state. This is done by clearing out the 24 years ago
Raymond Hettinger 14bd6de0ec SF 560736. Optimize list iteration by filling the tp_iter slot. 24 years ago
Martin v. Löwis 01f94bda38 Patch #552433: Special-case tuples. Avoid sub-type checking for lists. 24 years ago