summaryrefslogtreecommitdiffstats
path: root/Objects/enumobject.c
Commit message (Expand)AuthorAgeFilesLines
* bpo-31579: Fixed a possible leak in enumerate() with large indices. (#3753)Serhiy Storchaka2017-09-261-2/+6
* bpo-26491 Defer DECREFs until enumobject is in a consistent state (#3747)Raymond Hettinger2017-09-251-18/+30
* bpo-29878: Add global instances of int for 0 and 1. (#852)Serhiy Storchaka2017-03-301-7/+1
* Issue #20186: Converted builtins enumerate() and reversed() to Argument Clinic.Serhiy Storchaka2017-01-191-39/+50
* Use _PyObject_CallNoArg()Victor Stinner2016-12-061-1/+1
* Backed out changeset b9c9691c72c5Victor Stinner2016-12-041-1/+1
* Replace PyObject_CallFunctionObjArgs() with fastcallVictor Stinner2016-12-011-1/+1
* Anti-registration of various ABC methods.Guido van Rossum2016-08-181-2/+10
* Issue #14288: Serialization support for builtin iterators.Kristján Valur Jónsson2012-04-031-1/+49
* use the static identifier api for looking up special methodsBenjamin Peterson2012-01-221-2/+2
* Merged revisions 81465-81466,81468,81679,81735,81760,81868,82183 via svnmerge...Benjamin Peterson2010-06-271-3/+4
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-283/+283
* Merged revisions 75055 via svnmerge fromEzio Melotti2009-09-251-1/+1
* Merged revisions 72907 via svnmerge fromBenjamin Peterson2009-05-251-0/+2
* Merged revisions 72495 via svnmerge fromBenjamin Peterson2009-05-091-3/+8
* Issue #1717: rename tp_compare to tp_reserved. I'll change theMark Dickinson2009-02-021-2/+2
* Merged revisions 65209-65216,65225-65226,65233,65239,65246-65247,65255-65256 ...Benjamin Peterson2008-07-311-0/+1
* Merge 65215: convert uses of int to Py_Ssize_t.Raymond Hettinger2008-07-241-8/+15
* Merged revisions 63361-63373,63375,63377-63380 via svnmerge fromAlexandre Vassalotti2008-05-161-1/+4
* Rename enumerate() kw argument name to "iterable" and fix "sequence"->"iterab...Georg Brandl2008-05-161-1/+1
* Merged revisions 63208-63209,63211-63212,63214-63217,63219-63224,63226-63227,...Alexandre Vassalotti2008-05-161-5/+16
* #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.Christian Heimes2007-12-191-3/+3
* Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases i...Christian Heimes2007-12-021-5/+5
* Merged revisions 58221-58741 via svnmerge fromGuido van Rossum2007-11-011-6/+49
* Merged revisions 56467-56482 via svnmerge fromMartin v. Löwis2007-07-211-7/+5
* Merged revisions 53623-53858 via svnmerge fromThomas Wouters2007-02-231-0/+6
* Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters2006-04-211-16/+3
* Change int to Py_ssize_t in several places.Martin v. Löwis2006-03-071-1/+1
* Revert backwards-incompatible const changes.Martin v. Löwis2006-02-271-1/+1
* Use Py_ssize_t for counts and sizes.Martin v. Löwis2006-02-161-3/+3
* Merge ssize_t branch.Martin v. Löwis2006-02-151-1/+1
* Renamed _length_cue() to __length_hint__(). See:Armin Rigo2006-02-111-2/+2
* en_sit will be freed when en is DECREF'd. Don't double free.Neal Norwitz2005-12-111-1/+0
* Add const to several API functions that take char *.Jeremy Hylton2005-12-101-1/+1
* Convert iterator __len__() methods to a private API.Raymond Hettinger2005-09-241-9/+11
* SF patch #1020188: Use Py_CLEAR where necessary to avoid crashesRaymond Hettinger2004-09-011-4/+1
* Fix docstring typo.Raymond Hettinger2004-08-251-1/+1
* * Add unittests for iterators that report their lengthRaymond Hettinger2004-04-121-1/+12
* Tidied up the implementations of reversed (including the custom onesRaymond Hettinger2004-03-101-16/+20
* Eliminate the double reverse option. It's only use caseRaymond Hettinger2004-03-101-13/+1
* Make reversed() transparent with respect to length.Raymond Hettinger2004-02-101-1/+13
* Let reversed() work with itself.Raymond Hettinger2004-02-081-1/+12
* * Fix ref counting in extend() and extendleft().Raymond Hettinger2004-02-071-2/+1
* Optimize reversed(list) using a custom iterator.Raymond Hettinger2003-11-071-2/+2
* Implement and apply PEP 322, reverse iterationRaymond Hettinger2003-11-061-0/+125
* Use PyTuple_Pack() to simplify enumerate().Raymond Hettinger2003-11-021-5/+1
* * Beefed-up testsRaymond Hettinger2003-05-281-13/+42
* Add a useful docstring to enumerate.Jeremy Hylton2003-04-211-1/+6
* Renamed PyObject_GenericGetIter to PyObject_SelfIterRaymond Hettinger2003-03-171-1/+1
* Created PyObject_GenericGetIter().Raymond Hettinger2003-03-171-8/+1