| Fri, 25 Sep 2009 16:07:55 +0000 |
Ezio Melotti |
#6994: fix typo in enumerate docstring
legacy-trunk
|
| Mon, 25 May 2009 02:40:21 +0000 |
Benjamin Peterson |
handle errors from _PyObject_LookupSpecial when __get__ fails
legacy-trunk
|
| Sat, 09 May 2009 17:23:03 +0000 |
Benjamin Peterson |
*sigh* deal with instances correctly
legacy-trunk
|
| Sat, 09 May 2009 02:07:04 +0000 |
Benjamin Peterson |
lookup __reversed__ correctly as a special method
legacy-trunk
|
| Sat, 22 May 2010 11:44:30 +0000 |
Georg Brandl |
Merged revisions 81468 via svnmerge from
2.6
|
| Sun, 09 May 2010 15:15:40 +0000 |
Antoine Pitrou |
Recorded merge of revisions 81029 via svnmerge from
2.6
|
| Fri, 25 Sep 2009 16:10:55 +0000 |
Ezio Melotti |
Merged revisions 75055 via svnmerge from
2.6
|
| Thu, 24 Jul 2008 07:04:55 +0000 |
Raymond Hettinger |
Convert from long to Py_ssize_t.
legacy-trunk
|
| Fri, 16 May 2008 13:24:29 +0000 |
Georg Brandl |
Don't allow keyword arguments to reversed().
legacy-trunk
|
| Tue, 13 May 2008 19:04:54 +0000 |
Georg Brandl |
#2831: add start argument to enumerate(). Patch by Scott Dial and me.
legacy-trunk
|
| Wed, 19 Dec 2007 02:37:44 +0000 |
Christian Heimes |
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
legacy-trunk
|
| Wed, 03 Oct 2007 21:18:11 +0000 |
Raymond Hettinger |
enumerate() is no longer bounded to using sequences shorter than LONG_MAX. The possibility of overflow was sending some newsgroup posters into a tizzy.
legacy-trunk
|
| Sat, 21 Jul 2007 06:55:02 +0000 |
Martin v. Löwis |
PEP 3123: Provide forward compatibility with Python 3.0, while keeping
legacy-trunk
|
| Thu, 08 Feb 2007 00:07:32 +0000 |
Raymond Hettinger |
Do not let overflows in enumerate() and count() pass silently.
legacy-trunk
|
| Sat, 15 Apr 2006 21:47:09 +0000 |
Thomas Wouters |
Use Py_VISIT in all tp_traverse methods, instead of traversing manually or
legacy-trunk
|
| Tue, 11 Apr 2006 06:54:30 +0000 |
Anthony Baxter |
More C++-compliance. Note especially listobject.c - to get C++ to accept the
legacy-trunk
|
| Tue, 07 Mar 2006 12:08:51 +0000 |
Martin v. Löwis |
Change int to Py_ssize_t in several places.
legacy-trunk
|
| Mon, 27 Feb 2006 16:46:16 +0000 |
Martin v. Löwis |
Revert backwards-incompatible const changes.
legacy-trunk
|
| Thu, 16 Feb 2006 14:32:27 +0000 |
Martin v. Löwis |
Use Py_ssize_t for counts and sizes.
legacy-trunk
|
| Wed, 15 Feb 2006 17:27:45 +0000 |
Martin v. Löwis |
Merge ssize_t branch.
legacy-trunk
|
| Sat, 11 Feb 2006 21:32:43 +0000 |
Armin Rigo |
Renamed _length_cue() to __length_hint__(). See:
legacy-trunk
|
| Sun, 11 Dec 2005 20:55:10 +0000 |
Neal Norwitz |
en_sit will be freed when en is DECREF'd. Don't double free.
legacy-trunk
|
| Sat, 10 Dec 2005 18:50:16 +0000 |
Jeremy Hylton |
Add const to several API functions that take char *.
legacy-trunk
|
| Sat, 24 Sep 2005 21:23:05 +0000 |
Raymond Hettinger |
Convert iterator __len__() methods to a private API.
legacy-trunk
|
| Wed, 01 Sep 2004 07:02:44 +0000 |
Raymond Hettinger |
SF patch #1020188: Use Py_CLEAR where necessary to avoid crashes
legacy-trunk
|
| Wed, 25 Aug 2004 19:42:12 +0000 |
Raymond Hettinger |
Fix docstring typo.
legacy-trunk
|
| Mon, 12 Apr 2004 18:10:01 +0000 |
Raymond Hettinger |
* Add unittests for iterators that report their length
legacy-trunk
|
| Wed, 10 Mar 2004 10:10:42 +0000 |
Raymond Hettinger |
Tidied up the implementations of reversed (including the custom ones
legacy-trunk
|
| Wed, 10 Mar 2004 08:32:47 +0000 |
Raymond Hettinger |
Eliminate the double reverse option. It's only use case
legacy-trunk
|
| Tue, 10 Feb 2004 09:33:39 +0000 |
Raymond Hettinger |
Make reversed() transparent with respect to length.
legacy-trunk
|
| Sun, 08 Feb 2004 10:49:42 +0000 |
Raymond Hettinger |
Let reversed() work with itself.
legacy-trunk
|
| Sat, 07 Feb 2004 02:45:22 +0000 |
Raymond Hettinger |
* Fix ref counting in extend() and extendleft().
legacy-trunk
|
| Fri, 07 Nov 2003 15:38:09 +0000 |
Raymond Hettinger |
Optimize reversed(list) using a custom iterator.
legacy-trunk
|
| Thu, 06 Nov 2003 14:06:48 +0000 |
Raymond Hettinger |
Implement and apply PEP 322, reverse iteration
legacy-trunk
|
| Sun, 02 Nov 2003 05:37:44 +0000 |
Raymond Hettinger |
Use PyTuple_Pack() to simplify enumerate().
legacy-trunk
|
| Wed, 28 May 2003 14:05:34 +0000 |
Raymond Hettinger |
* Beefed-up tests
legacy-trunk
|
| Mon, 21 Apr 2003 20:26:25 +0000 |
Jeremy Hylton |
Add a useful docstring to enumerate.
legacy-trunk
|
| Mon, 17 Mar 2003 19:46:11 +0000 |
Raymond Hettinger |
Renamed PyObject_GenericGetIter to PyObject_SelfIter
legacy-trunk
|
| Mon, 17 Mar 2003 08:24:35 +0000 |
Raymond Hettinger |
Created PyObject_GenericGetIter().
legacy-trunk
|
| Tue, 16 Jul 2002 21:02:42 +0000 |
Guido van Rossum |
Remove the next() method -- one is supplied automatically by
legacy-trunk
|
| Thu, 13 Jun 2002 20:33:02 +0000 |
Martin v. Löwis |
Patch #568124: Add doc string macros.
legacy-trunk
|
| Fri, 26 Apr 2002 19:40:56 +0000 |
Guido van Rossum |
- New builtin function enumerate(x), from PEP 279. Example:
legacy-trunk
|