[Python-Dev] An ability to specify start and length of slices

Tim Peters tim.one at comcast.net
Fri Jun 4 16:02:59 EDT 2004

[Jeff Epler]
> Pretending for a moment that it could fly, can we make sure this works
> with dicts, and also create +, for tuples and lists?
> I'd like
>     { 1 +: 3 }
> to create the dict {1:4}, and for
>     1, 3 +, 5
> to create the tuple (1, 3, 8)

As I said last time,

     I should note that Icon had the good sense to stop there too ...

> One last comment -- While you'll have a hard sell with this new syntax
> idea, having an implementation for it makes you stand above all the other
> people peddling their bad syntax change on the mailing lists.

+1.  Noam did his homework!  I hope he doesn't give up just because Guido
wishes he had never been born <wink>.

More information about the Python-Dev mailing list