[Python-Dev] Built in objects supporting slices
Michael Hudson
mwh@python.net
01 May 2002 19:13:30 +0100
Paul Moore <gustav@morpheus.demon.co.uk> writes:
> 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?
Well, I wrote a patch for this ages and ages ago:
http://www.python.org/sf/400998
It got rejected, mostly for lack of interest.
> 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'd have thought so.
Cheers,
M.
--
... with these conditions cam the realisation that ... nothing
turned a perfectly normal healthy individual into a great political
or military leader better than irreversible brain damage.
-- The Hitch-Hikers Guide to the Galaxy, Episode 11