On Sun, Aug 23, 2020 at 6:42 PM Todd <toddr...@gmail.com> wrote:

> I think it is worth directly discussing the availability of slices in PEP
> 472-style keyword indices,
>

+1 on slices in all indexing.

But thus brings up a broader question:

Why not allow slice syntax as an expression everywhere? Everywhere I’ve
tried, it’s a syntax error now, but is there any technical reason that it
couldn’t be used pretty much anywhere?

-CHB
-- 
Christopher Barker, PhD

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/EF7RSFKMOOVMKQKSI3ZGORHQN7L5V2AC/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to