A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-June/045214.html below:

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

[Python-Dev] An ability to specify start and length of slicesTim 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4