> 
> I believe the idea of slice literals has been rejected.
> 

That's too bad...do you have a link to prior discussion on this and what the 
reasoning was for rejection? There doesn't seem to be any particular downside 
and things would be more consistent with slice syntax allowed anywhere.

It would be helpful in other cases as well other than the one linked to, since 
there's good reason to be able to succinctly create and reuse the same indexer 
object multiple times without having to convert everything into slice() calls.

-Stephen
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to