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/2002-April/023752.html below:

[Python-Dev] Built in objects supporting slices

[Python-Dev] Built in objects supporting slices [Python-Dev] Built in objects supporting slicesRaymond Hettinger python@rcn.com
Sun, 28 Apr 2002 13:10:09 -0400
> From: Paul Moore <gustav@morpheus.demon.co.uk>
>
> At the moment, built in objects such as lists don't support the slice
> notaton l[a:b:c]. Would there be support for including this in Python
> 2.3? If so, what would be the necessary procedure? Would this require a
> PEP?
>
> Alex Martelli has offered to do the code, if someone will champion the
> work. I'm happy to do this, but I don't have commit privileges, so it
> would require someone else to actually commit any changes. I presume
> that the correct approach would be to submit the changes as a patch to
> SourceForge?

I would be happy to help on this one either in the design stage, code
review,
or writing the unittests and docs.

Maybe we should also address the str/getitem/slice bug
www.python.org/sf/473985 and kill two birds with one stone (or tie two
swallows to one coconut or some such).


Raymond Hettinger





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