datetime.iterdate

Christos TZOTZIOY Georgiou tzot at sil-tec.gr
Mon Jul 12 11:39:02 EDT 2004


On Mon, 12 Jul 2004 09:20:38 -0400, rumours say that Christopher T King
<squirrel at WPI.EDU> might have written:

[snip of a<=x<=b proposition to replace xrange]

>To work perfectly, my 
>proposal needs only a slight change in the parser (to compile a<b<c as 
>(a<b)&(b<c) rather than a<b and b<c); I'm not sure how much this would 
>affect existing code though.

A lot of code is based on "x and y" evaluating y only if x is true...
-- 
TZOTZIOY, I speak England very best,
"Tssss!" --Brad Pitt as Achilles in unprecedented Ancient Greek



More information about the Python-list mailing list