slices: foo[i:j:k] => TypeError

Paul Moore gustav at morpheus.demon.co.uk
Sun Apr 28 08:40:29 EDT 2002


On Sat, 27 Apr 2002 20:15:07 GMT, Alex Martelli <aleax at aleax.it> wrote:

>>     What's the expected date for the builtin types to accept slice
>>     objects?
>
>No idea.  The original intro was before PEPs, so there's not even a
>PEP to refer to, I believe.  You may want to ask on Python-Dev --
>if the BDFL OK's it for 2.3, I can write the code, if you or some other
>volunteer can handle the rest of the patch submissal process (sorry,
>can't volunteer more time than what it takes to write & debug the code).

Hmm, I've always been annoyed by this wart. I've never had the time to
do any coding, though...

Let me put out some feelers on python-dev, and see what response I get.
If it looks promising, I'll do the bureaucracy for you.

Paul.



More information about the Python-list mailing list