summaryrefslogtreecommitdiffstats
path: root/Objects/enumobject.c
Commit message (Expand)AuthorAgeFilesLines
* Use Py_VISIT in all tp_traverse methods, instead of traversing manually orThomas Wouters2006-04-151-14/+3
* More C++-compliance. Note especially listobject.c - to get C++ to accept theAnthony Baxter2006-04-111-2/+0
* 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
* Remove the next() method -- one is supplied automatically byGuido van Rossum2002-07-161-16/+11
* Patch #568124: Add doc string macros.Martin v. Löwis2002-06-131-2/+2
* - New builtin function enumerate(x), from PEP 279. Example:Guido van Rossum2002-04-261-0/+139