Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
baf3eb241027455bb7825293957df4346f2393d7
/
Objects
/
enumobject.c
15e6274
Revert backwards-incompatible const changes.
by Martin v. Löwis
· 18 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
· 20 years ago
ef9bf40
Tidied up the implementations of reversed (including the custom ones
by Raymond Hettinger
· 20 years ago
d2c3626
Eliminate the double reverse option. It's only use case
by Raymond Hettinger
· 20 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
· 21 years ago
1da1dbf
Renamed PyObject_GenericGetIter to PyObject_SelfIter
by Raymond Hettinger
· 21 years ago
0153826
Created PyObject_GenericGetIter().
by Raymond Hettinger
· 21 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
· 22 years ago