> 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 -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/CY2YRG6TCAT5GXB7EKCCCHSKQPS6ZSQE/ Code of Conduct: http://python.org/psf/codeofconduct/
