>>>>> "KY" == Ka-Ping Yee <ping@lfw.org> writes: KY> (Ideally range(), zip(), and irange() would all make KY> generators one day, and xrange() could be deprecated.) I agree! So maybe what we need is a general generator type written in C. Could the xrange type be subverted to this purpose? -Barry