On Thu, Nov 26, 2020 at 04:56:34AM +0000, Mathew M. Noel via Python-ideas wrote: > > Why not use list_name[-n%N] whenever you need to use negative indices > and raise an index out of bounds exception with negative indices like > other programming languages?
If this was Python 0.1 back in 1991, then that would be a good question. But it is 2020 and we have almost 30 years of negative indices counting from the end, and that's not going to change. -- Steve _______________________________________________ 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/JE5HZIZDY27SCVO2QQYHRH6RGWSCLG2L/ Code of Conduct: http://python.org/psf/codeofconduct/