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/LLK3EQ3QWNDB54SEBKJ4XEV4LXP5HVJS/#YDSC5T7MLM2VBJCLCFP2V5OPS34LD73B

In 2020:

    Add `get`as a method to list and tuple

https://mail.python.org/archives/list/python-ideas@python.org/thread/Q4ST3IF2YXR4FTB73V545NQBKHRB6RHX/

In 2017:

    get() method for list and tuples

https://mail.python.org/archives/list/python-ideas@python.org/thread/OSPMJMVLU3DLLP6D532ZAS26ZCQLFFJ4/#WR4GMZE4GME6C2XFYAF5EZJ5GAVSNXVR

And those are just the ones I've found in a few minutes.
_______________________________________________
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/H2IXAPAX3C47JBKE3L5SFODAXAEOZDOU/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to