forrest voight hnvzdeigmailcom sure trying propose slice object isnt special regular builtin type idea slice objects generators could make slice like 1102 would make slice object could used list index list would return list corresponding item every index generator lists could transparently used list indexes could supply generator instead slice object dont see introducing new syntax would simplify indexing would move slice logic list slice object slice object container would useful lists accept list generator index use case mind example multiple selection boxs selection would changed values supplying chosen indexes list values optionally 12 syntax would create slice object outside list index areas dont see could useful list15 1 2 3 4 list152 1 3 listrange152 would useful shorthand xrange addition capabilities would useful range3015 1517 1 2 3 4 15 16 confusing imho doesnt provide advantage listrange30 s15 s1517 dont think confusing also advantage would slice object automatically generated would simplify code really needed could define custom class fancy __getitem__ class def __getitem__self x return x a1325 slice1 3 none slice2 5 none ps consider using pythonideas httpmailpythonorgmailmanlistinfopythonideas mailing list instead pythondev posting suggestions cheers alexandre _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom wed 06 aug 2008 020835 0400 pythondev pep proposal revised slice objects lists use slice objects indexes