A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-June/045199.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 slicesGuido van Rossum guido at python.org
Fri Jun 4 00:21:49 EDT 2004
> 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.

--Guido van Rossum (home page: http://www.python.org/~guido/)

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