On 2021-07-07 01:36, Steven D'Aprano wrote:
On Tue, Jul 06, 2021 at 02:54:32PM +0100, MRAB wrote:
This has been discussed before, most recently on 2021-06-05, but also in August 2020, and in 2017.
Hi MRAB,
Thanks for looking those up, but you don't happen to have URLs do you? Or at least tell us whether they are on the Python-Ideas mailing list, or Python-Dev, Python-List, or the Python Discuss forum?
In 2021: Re: What about having a .get(index, default) method for arrays like we have for dicts? https://mail.python.org/archives/list/python-ideas@python.org/thread/LLK3EQ3... In 2020: Add `get`as a method to list and tuple https://mail.python.org/archives/list/python-ideas@python.org/thread/Q4ST3IF... In 2017: get() method for list and tuples https://mail.python.org/archives/list/python-ideas@python.org/thread/OSPMJMV... And those are just the ones I've found in a few minutes.