Easy! Look at EVERY Python function that uses a sentinel. They all get a little bit worse under your proposal.
On Wed, Dec 8, 2021, 9:54 PM Chris Angelico > > An obvious reason to oppose it is that it is a much worse way of writing > an existing sentinel check. > This is what I want to see an example of. >
_______________________________________________ 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/4VBWJKWI7VOEGXHN375VNAC4THRO3FDB/ Code of Conduct: http://python.org/psf/codeofconduct/