On Tue, Aug 25, 2020 at 10:22:20AM -0700, Christopher Barker wrote: > This one is easier than most because it's pretty much a do we or don't we > question, with the spelling semantics, all pretty much already decided.
Is it to be added to lists, or lists and tuples? How about range objects? range(1, 9, 2).get(100) Strings and bytes? "abc".get(100) Do we require 3rd party sequences to add this as well, in order to continue being called sequences? > Though I haven't quite seen it said explicitly -- is this proposed to be > added to the Sequence ABC? If so, do we require that it return None as the default, or are types permitted to return whatever missing value they see fit? -- 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/FQ66KFBVJUJGBJ6UWHAE5GF4I7EP63UU/ Code of Conduct: http://python.org/psf/codeofconduct/