New submission from Abram Clark <ab...@easypost.com>:

Just like with dictionaries, it is convenient to index lists without catching 
exceptions. Adding an import for this most basic functionality is slightly 
tedious, and I can't imagine it would break anything to add a list.get method.

----------
messages: 329978
nosy: Abram Clark
priority: normal
severity: normal
status: open
title: There should be a list.get just like dict.get
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35262>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to