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/045200.html below:

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

[Python-Dev] An ability to specify start and length of slices [Python-Dev] An ability to specify start and length of slicesDelaney, Timothy C (Timothy) tdelaney at avaya.com
Fri Jun 4 01:38:18 EDT 2004
Guido van Rossum wrote:

>> Many times I find myself asking for a slice of a specific length,
>> rather than a slice with a specific end. I suggest to add the syntax
>> object[start:>length] (or object[start:>length:jump]), beside the
>> existing syntax.
> 
> Feel free to continue to argue for this, but I'm -1, and that usually
> kills a proposal dead.  I doubt that you'll be able to get enough
> influential people on python-dev to rally for your proposal; but I'm
> sure they will explain to you why your syntax is unpythonic and the
> feature is so minor as to be unneeded.

It already was explained when this came up on c.l.py ...

Tim Delaney

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