Commit Graph

15 Commits

Author SHA1 Message Date
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