On Tue, 18 Jul 2023 at 14:07, Dom Grigonis <[email protected]> wrote: > PEP505 would solve this nicely, but it only applies to None and would not > apply to say user-defined sentinels and many other cases where permutations > of different conditionals arise. >
PEP 671 would solve this nicely too. ChrisA _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/R4HVE2MYZT7GJAB6SNKHW6UVC2G4OYYO/ Code of Conduct: http://python.org/psf/codeofconduct/
