This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients Abram Clark, rhettinger
Date 2018-11-16.05:53:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1542347622.36.0.788709270274.issue35262@psf.upfronthosting.co.za>
In-reply-to
Content
This idea has been discussed before and was rejected.  While get() makes sense and has valid use cases for dictionaries which use key based lookups, there isn't a parallel for lists.  In general, we do just fine without list.get().   Also, it seems that other languages have mostly made the same decision in this regard.

Thank you for the suggestion though.
History
Date User Action Args
2018-11-16 05:53:42rhettingersetrecipients: + rhettinger, Abram Clark
2018-11-16 05:53:42rhettingersetmessageid: <1542347622.36.0.788709270274.issue35262@psf.upfronthosting.co.za>
2018-11-16 05:53:42rhettingerlinkissue35262 messages
2018-11-16 05:53:41rhettingercreate