Brandt's example with ast in the stdlib I think is a pretty good example of this.

On Tue, 5 May 2020 at 13:27, Rhodri James <rhodri@kynesim.co.uk> wrote:
On 05/05/2020 13:12, Henk-Jaap Wagenaar wrote:
> A function that is a "safer" version in some "edge case" (not extra
> functionality but better error handling basically) but that does otherwise
> work as expected is not something one will search for automatically. This
> is zip versus zip-with-strict-true.

I'm sorry, I don't buy it.  This isn't an edge case, it's all about
whether you care about what your input is.  In that sense, it's exactly
like the relationship between zip and zip_longest.

--
Rhodri James *-* Kynesim Ltd
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-leave@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/U47NZNW5DIZLW34UTNEFYQ3ZCRW57EMU/
Code of Conduct: http://python.org/psf/codeofconduct/