> This might be a silly idea but, would it be a good idea to have
> ...[a:b:c] return a range(a, b, c)?

This sort of highly-subjective syntactic sugar makes me wonder whether 
there would be support for a standard python preprocessor, like what was 
suggested in PEP 638 [1].

[1]: https://www.python.org/dev/peps/pep-0638/

- DLD
_______________________________________________
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/CY2YRG6TCAT5GXB7EKCCCHSKQPS6ZSQE/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to