Commit Graph

23 Commits

Author SHA1 Message Date
Brett Cannon c9dd449ae1 Standardize Ka-Ping Yee's email address. 2007-06-28 00:11:17 +00:00
Brett Cannon cdf5d3ce68 Fix the headers so that they are in the right order and no required headers are
missing.
2007-06-19 04:20:07 +00:00
David Goodger c5b5d3c83d added Last-Modified headers to all PEPs without 2006-03-23 20:13:19 +00:00
Guido van Rossum a2d549a704 Replace Ping's value judgement by a more neutral explanation of why
iterators need to support __iter__.
2002-07-19 04:25:06 +00:00
Guido van Rossum 9aee42f23e Add a number of clarifications and updates. 2002-07-18 20:38:28 +00:00
Ka-Ping Yee 6c29d4df54 Adjusted the wording to make __iter__() more strongly required on iterators.
See http://mail.python.org/pipermail/python-dev/2002-July/026668.html .

Added text describing the distinct purposes of __iter__() and next().
See http://mail.python.org/pipermail/python-dev/2002-July/026683.html .
2002-07-18 20:00:21 +00:00
Guido van Rossum 664cf2aec9 Typo (has_keys -> has_key), found by F.Pinard. 2002-07-08 06:48:55 +00:00
Barry Warsaw fdf0d91a18 Moved all the Open Issues to Resolved Issues, with a brief explanation
of how they were resolved.  Mark this PEP as Final.
2001-10-25 20:14:01 +00:00
Tim Peters 9ba47180ba Make PyIter_Next() a little smarter (wrt its knowledge of iterator
internals) so clients can be a lot dumber (wrt their knowledge).
2001-05-05 00:14:56 +00:00
Barry Warsaw c92ac512a1 Fixed one small typo 2001-05-01 17:52:06 +00:00
Guido van Rossum 5ea06118a1 I've implemented iterkeys(), itervalues() and iteritems() methods for
dictionaries.  These do away with the myth that iterating over the
keys and extracting the values is as fast as iterating over the items;
it is about 7% slower.
2001-05-01 12:15:42 +00:00
Guido van Rossum 392ff1769e Add proposal to make files their own iterator. 2001-05-01 11:47:29 +00:00
Guido van Rossum 427ddb1062 Correct typos and add bits of discussion. Also add another "chief
virtue".
2001-05-01 11:42:07 +00:00
Guido van Rossum 655faadd09 Update post-history; corrected a typo. 2001-05-01 02:29:03 +00:00
Guido van Rossum 3deab93236 Moved all the discussion items together at the end, in two sections
"Open Issues" and "Resolved Issues".
2001-05-01 02:04:28 +00:00
Guido van Rossum 072638b586 Add (minimal) discussion about restartability. 2001-04-27 15:33:02 +00:00
Guido van Rossum 619a17e425 BDFL pronouncement on next() vs. __next__() vs. __call__().
Add mailing list pointers.

Add discussion on "once-stopped-always-stopped".
2001-04-27 15:26:54 +00:00
Guido van Rossum 8026ee6829 Added some more discussion. 2001-04-26 21:50:09 +00:00
Guido van Rossum bc657d06b6 Adding MAL's comment about next() vs. __next__(). 2001-04-26 13:39:59 +00:00
Guido van Rossum 75110765c1 Add discussion about next() vs. __next__(). So far I'm liking next()
jut fine.
2001-04-23 20:04:59 +00:00
Guido van Rossum 31a363c4f5 Almost completely rewritten, focusing on documenting the current state
of affairs, filling in some things still under discussion.

Ping, I hope this is okay with you.  If you want to revive "for
keys:values in dict" etc., you'll write a separate PEP, right?
2001-04-23 18:31:46 +00:00
Fred Drake 49e6e98d67 Fix the PEP number in the header. 2001-02-19 06:08:07 +00:00
Ka-Ping Yee f6828bb85b Initial draft of "Iterators" PEP. 2001-02-04 04:36:37 +00:00