I am teaching Python at the Space Telescope Science Institute on Thurs/Fri this week (Feb 8-9). There will be 20+ students in attendance, most of whom will...
Greg Wilson
gvwilson@...
Feb 5, 2001 8:57 pm
2
... Date: Fri, 16 Feb 2001 13:30:10 -0500 (EST) From: neelk@... Reply-To: Neelakantan Krishnaswami <neelk@...> To: ping@... Subject: Fwd:...
Ka-Ping Yee
ping@...
Feb 18, 2001 9:40 am
3
... Date: Fri, 16 Feb 2001 17:10:26 -0500 From: Michael Chermside <mcherm@...> To: ping@... Subject: PEEP 0234: Iterators Hi: I'm fairly new to...
Ka-Ping Yee
ping@...
Feb 18, 2001 9:40 am
4
... Date: Sat, 17 Feb 2001 13:55:25 +0100 From: gzeljko <gzeljko@...> To: ping@... Subject: PEP 2xx """ for item in sequence: ...body... """ Why...
Ka-Ping Yee
ping@...
Feb 18, 2001 9:40 am
5
... Date: Fri, 16 Feb 2001 01:54:16 -0700 From: Andrew Dalke <dalke@...> To: ping@... Subject: Re: iterators (was: python-dev summary) Here's the...
Ka-Ping Yee
ping@...
Feb 18, 2001 9:40 am
6
... Date: Fri, 16 Feb 2001 09:41:37 -0800 From: Russell E Owen <owen@...> To: ping@... Subject: PEP 2xx I fear this is not the way to...
Ka-Ping Yee
ping@...
Feb 18, 2001 9:41 am
7
-- ?!ng ... Date: Fri, 16 Feb 2001 11:57:09 -0500 (EST) From: Jeremy Hylton <jeremy@...> To: neelk@... Cc: python-list@...,...
Ka-Ping Yee
ping@...
Feb 18, 2001 9:41 am
8
Hi, everyone. You're getting this message because you've sent me comments about PEP 234 at some point or other, and i'd like to get us all in the same forum...
Ka-Ping Yee
ping@...
Feb 18, 2001 9:42 am
9
Hi, Thomas. I'm sending my reply to python-iter@yahoogroups.com instead of python-dev, and trying to move the discussion over there, so i hope you join. For...
Ka-Ping Yee
ping@...
Feb 18, 2001 10:24 am
10
Hi, Marc. I'm trying to move the iterator discussion over to python-iter@yahoogroups.com, so i hope you join. For others on python-iter -- this message is a...
Ka-Ping Yee
ping@...
Feb 18, 2001 10:37 am
11
Hi again. I've seen a few responses with the sentiment that there is a lot of stuff going on in this proposal, so i just wanted to take a moment to explain why...
Ka-Ping Yee
ping@...
Feb 18, 2001 10:37 am
12
This message is a reply to: http://mail.python.org/pipermail/python-dev/2001-February/012687.html ... It does get us fast iteration for free on lists, tuples,...
Ka-Ping Yee
ping@...
Feb 18, 2001 10:43 am
13
Hi! I want to express my opinion about iterators. The secret agenda of this message (teehee) is to test that I can post to the list, and that I'm getting...
python-iter-moshez-ya...
Feb 18, 2001 4:26 pm
14
Greg Wilson
gvwilson@...
Feb 18, 2001 5:30 pm
15
Just email to python-iter-subscribe@yahoogroups.com ly-y'rs-gzeljko...
gzeljko
gzeljko@...
Feb 18, 2001 6:48 pm
16
End wath this code will do ? def f(): pass for item iterating f: pass ly-y'rs-gzeljko...
gzeljko
gzeljko@...
Feb 18, 2001 8:49 pm
17
Just one example: classic python construct (IMHO) instance = some_class(x,y) while 1: item = instance.f() if not item: break do_something_with_item ... compare...
gzeljko
gzeljko@...
Feb 18, 2001 11:24 pm
18
Just email to python-iter-subscribe@yahoogroups.com ly-y'rs-gzeljko...
gzeljko
gzeljko@...
Feb 19, 2001 5:07 pm
19
Hi, folks. Now that Marc-Andre has arranged a mailing list for technical discussion of Python iterators at SourceForge (see his earlier mail to this list),...
Greg Wilson
gvwilson@...
Feb 19, 2001 11:27 pm
20
When thinking about dictionaries and iterators, several issues gave me heartburn. Working through each of them pointed to revised proposal for iterator syntax....
Raymond Hettinger
othello@...
Feb 20, 2001 6:37 pm
21
... It's not possible to have perfect analogies when enough parallels between containers are established. A set corresponds to a dictionary with elements as...
qrczak@...
Feb 20, 2001 10:58 pm
22
First of all: I'm a fan of consistency. I think having "in"-tests checking the keys of a dictionary is arbitrary and ugly. (And I also think we should have a...
... Sure. I exaggerated -- I don't really find it *that* ugly :) And the last part was meant as support for PEP 218. ... -- Magnus Lie Hetland...
Magnus Lie Hetland
mlh@...
Feb 21, 2001 4:21 pm
25
... Suprisingly, it is possible: The rule is that the 'in' operator loops over or checks for membership in a list (strings give a list of characters, ...
Raymond Hettinger
othello@...
Feb 21, 2001 10:00 pm
26
... Elements in a set represented as a dictionary are not ordered by their nature, so it would be silly to introduce a shortcut which creates an ad-hoc...
qrczak@...
Feb 22, 2001 8:41 am
27
... I think everyone agrees on the non-colon syntax: for key in dict for item in seqn PEP 234 also proposes: for key:value in dict for index:item in seqn My...
othello@...
Feb 22, 2001 5:43 pm
28
... I do! ... I think I agree, even though I originally proposed the colon syntax. It seems to confusing. ... No. ... No. I propose to introduce an interator...
Guido van Rossum
guido@...
Feb 22, 2001 6:51 pm
29
1) I think that "for :val in dict" is sematically ambiguous and error prone. Given {1:'x', 2:'y', 3:'x'}, would you get three loops or two? 2) The half colon...
othello@...
Feb 22, 2001 7:53 pm
30
... Hm, that's a silly argument. How many "loops" (I guess you mean iterations) do you expect in "for val in ['x', 'y', 'x']"? Three of course! ... Not any...