Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
3f767795f6784ca6bf797b055be67fce5bf2fa06
/
Objects
/
enumobject.c
c6e5506
Use Py_VISIT in all tp_traverse methods, instead of traversing manually or
by Thomas Wouters
· 19 years ago
377be11
More C++-compliance. Note especially listobject.c - to get C++ to accept the
by Anthony Baxter
· 19 years ago
725507b
Change int to Py_ssize_t in several places.
by Martin v. Löwis
· 19 years ago
15e6274
Revert backwards-incompatible const changes.
by Martin v. Löwis
· 19 years ago
eb079f1
Use Py_ssize_t for counts and sizes. Convert Py_ssize_t using PyInt_FromSsize_t
by Martin v. Löwis
· 19 years ago
18e1655
Merge ssize_t branch.
by Martin v. Löwis
· 19 years ago
f5b3e36
Renamed _length_cue() to __length_hint__(). See:
by Armin Rigo
· 19 years ago
ba2fa63
en_sit will be freed when en is DECREF'd. Don't double free.
by Neal Norwitz
· 19 years ago
af68c87
Add const to several API functions that take char *.
by Jeremy Hylton
· 19 years ago
6b27cda
Convert iterator __len__() methods to a private API.
by Raymond Hettinger
· 19 years ago
75ccea3
SF patch #1020188: Use Py_CLEAR where necessary to avoid crashes
by Raymond Hettinger
· 20 years ago
d2afee4
Fix docstring typo.
by Raymond Hettinger
· 20 years ago
7892b1c
* Add unittests for iterators that report their length
by Raymond Hettinger
· 21 years ago
ef9bf40
Tidied up the implementations of reversed (including the custom ones
by Raymond Hettinger
· 21 years ago
d2c3626
Eliminate the double reverse option. It's only use case
by Raymond Hettinger
· 21 years ago
029dba5
Make reversed() transparent with respect to length.
by Raymond Hettinger
· 21 years ago
06353f7
Let reversed() work with itself.
by Raymond Hettinger
· 21 years ago
c058fd1
* Fix ref counting in extend() and extendleft().
by Raymond Hettinger
· 21 years ago
1021c44
Optimize reversed(list) using a custom iterator.
by Raymond Hettinger
· 21 years ago
85c20a4
Implement and apply PEP 322, reverse iteration
by Raymond Hettinger
· 21 years ago
54a831b
Use PyTuple_Pack() to simplify enumerate().
by Raymond Hettinger
· 21 years ago
e8b0f04
* Beefed-up tests * Allow tuple re-use * Call tp_iternext directly
by Raymond Hettinger
· 21 years ago
fbbe347
Add a useful docstring to enumerate.
by Jeremy Hylton
· 22 years ago
1da1dbf
Renamed PyObject_GenericGetIter to PyObject_SelfIter
by Raymond Hettinger
· 22 years ago
0153826
Created PyObject_GenericGetIter().
by Raymond Hettinger
· 22 years ago
ca5ed5b
Remove the next() method -- one is supplied automatically by
by Guido van Rossum
· 22 years ago
14f8b4c
Patch #568124: Add doc string macros.
by Martin v. Löwis
· 22 years ago
7dab242
- New builtin function enumerate(x), from PEP 279. Example:
by Guido van Rossum
· 23 years ago