In defense of PEP0238 (plus PS)

Kirby Urner urner at
Fri Jul 27 19:00:10 CEST 2001

I've talked myself back into supporting PEP0238, after many of
the eloquent posts here had swayed me the other way.  A 
latest snap shot of my thought process:


PS:  I'm really enjoying the generators and iterators stuff.  2.2a 
is a lot of fun.  The language is steadily becoming more powerful.
For more on this:
posts by Kirby Urner (me)

Note, in
there's a coding error, should read:

def primes():
     Yield next higher prime, starting at 2, accruing
     successive primes in global list pr
     global pr
     pr = [2]
     i,new = 1,1

Of course the 2.2a docs themselves contain examples.  

More information about the Python-list mailing list