Search the web
Sign In
New User? Sign Up
python-iter
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
  Newest  |  < Newer  |  Older >  |  Oldest
Topics   (List as Individual Messages) Messages Latest Post

I have made the python-iter@yahoogroups.com mailing list moderated, and will now start bouncing messages that are sent to it --- please move all discussion to:...
1 Apr 21, 2001
2:29 pm

Greg Wilson
gvwilson@...
Send Email

... The sentinel method is for use with existing functions, that return a sentinel value (like "" or None or whatever.) Comparing to those is not terribly...
2 Apr 20, 2001
2:39 pm

Guido van Rossum
guido@...
Send Email

... Greg Wilson: I second the motion. ... Yup. Being able to iterate directly over a dictionary's keys w/out listifying will make things more efficient, as...
1 Apr 20, 2001
12:16 pm

Greg Wilson
gvwilson@...
Send Email

I've got a fairly complete implementation of iterators along the lines of Ping's PEP (slightly updated). This is available for inspection through CVS: just...
3 Apr 20, 2001
8:38 am

Thomas Wouters
thomas@...
Send Email

Hi, folks. I'll be shutting down this list at the end of this week. Please subscribe to the python-iterators list through the Python SourceForge page before...
1 Mar 28, 2001
7:57 pm

Greg Wilson
gvwilson@...
Send Email

Hi, everyone. There is now a python-iterators list at SourceForge (go to python.sourceforge.net, look under lists). If you have not already subscribed to it,...
4 Mar 25, 2001
6:17 pm

Tim Peters
tim.one@...
Send Email

... I see nothing special about __iter__. It's just a common functionality of some kinds of objects, like __getitem__, keys, __len__, __str__ or readline. (The...
2 Mar 17, 2001
5:54 pm

Clark C. Evans
cce@...
Send Email

Hi all, I believe Guido has pretty much made up his mind on the subject of iterators and i wanted to inform you of the current plan. Here is my understanding...
68 Mar 17, 2001
4:26 am

Guido van Rossum
guido@...
Send Email

Opinions? I'm lukewarm -- and "enum" certainly suggests the wrong thing to folks who know Pascal, C or C++... --Guido van Rossum (home page:...
4 Mar 17, 2001
2:18 am

Clark C. Evans
cce@...
Send Email

I agree that having "blah in dict" iterate over/check keys, rather than the values, is the natural behavior. I even think I know how to explain it to...
6 Mar 15, 2001
9:36 pm

Magnus Lie Hetland
mlh@...
Send Email

(corrected to swap the order of case a and case b) ... We have the following cases: for case_b in object_with_next: do_something_with(case_a) for...
12 Mar 14, 2001
4:45 pm

gzeljko
gzeljko@...
Send Email

For Python 2.2, can we agree to a miminal proposal: for key in dict: if key in dict: Raymond Hettinger...
8 Mar 14, 2001
7:48 am

Tim Peters
tim.one@...
Send Email

This is only a half-formed idea -- and if it is already covered by something I have missed in the ongoing discussion, I apologise :) I just started thinking...
6 Mar 13, 2001
9:19 pm

qrczak@...
Send Email

While thinking about dynamic programming and iterators with memory, the thought of multidimensional iterators also struck me. (To combine the two would be...
1 Mar 13, 2001
8:57 pm

Magnus Lie Hetland
mlh@...
Send Email

Someone please help me work through this new syntax. Suppose I have a data structure in an object, MyTree, which contains tree-structured data. I now write two...
2 Mar 13, 2001
8:31 pm

Ka-Ping Yee
ping@...
Send Email

I may have answered some of my own question. It appears, on closer reading, that my original code: # Loop One: for node in myTree.getDepthFirstIterator(): ...
1 Mar 13, 2001
4:22 pm

Michael Chermside
mcherm@...
Send Email

Not all that important -- but it isn't really necessary to quote entire mails if you only want to say "me too", or "not me", or "that's interesting". In fact,...
2 Mar 13, 2001
2:05 pm

Clark C. Evans
cce@...
Send Email

Hi, a month ago I came to Python, to satisfy raising needs for an interpreter (aka scripting). I like to say, analyzeing also moust promising alternatives (in...
15 Mar 6, 2001
3:37 am

Zoka
gzeljko@...
Send Email

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...
9 Mar 4, 2001
6:32 pm

Clark C. Evans
cce@...
Send Email

Hi, everyone. I thank you all for your participation and for contributing your ideas on the issues surrounding iterators. I'm collecting some of the points...
1 Mar 4, 2001
1:56 am

Ka-Ping Yee
ping@...
Send Email

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...
27 Mar 3, 2001
4:10 pm

gzeljko
gzeljko@...
Send Email

Define new looping construct with semantic: for item from generator: (generator = any object callable without parameters) as: new_for_stmt: "for"...
2 Feb 28, 2001
3:51 pm

Guido van Rossum
guido@...
Send Email

... It would be very handy if *all* containers provided these three members: C.keys returns a list of legal indices, C.values returns values, and C.items...
6 Feb 25, 2001
9:54 pm

Tim Peters
tim.one@...
Send Email

Just a thought on this topic, as a reaction to the multiple proposals and concerns: Smalltalk has a 20-year history, building quite a body of design and...
1 Feb 23, 2001
6:24 pm

Don Dwiggins
dwig@...
Send Email

... 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, ...
2 Feb 22, 2001
8:41 am

qrczak@...
Send Email

When thinking about dictionaries and iterators, several issues gave me heartburn. Working through each of them pointed to revised proposal for iterator syntax....
2 Feb 20, 2001
10:58 pm

qrczak@...
Send Email

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),...
1 Feb 19, 2001
11:27 pm

Greg Wilson
gvwilson@...
Send Email

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...
4 Feb 19, 2001
5:07 pm

gzeljko
gzeljko@...
Send Email

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...
3 Feb 18, 2001
11:24 pm

gzeljko
gzeljko@...
Send Email

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...
2 Feb 18, 2001
10:43 am

Ka-Ping Yee
ping@...
Send Email
  Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help