Hi, you may found this idea stupid, but nevertheless... - `[]` - used for list comprehension, - `()` - used for generators, - `[start:stop]` / `[start:stop:step]` - used for slices. The idea is to use `(start:stop)` / `(start:stop:step)` as 'lazy evaluated' slices (like itertools.islice). What do you think about it? -- Best regards, Valiev Sergey *skype:* *svaliev* *jabber:* *sval...@gmail.com* *phone:* +7 926 233-17-64
-- http://mail.python.org/mailman/listinfo/python-list