July 18, 2023
12:33 a.m.
On Tue, 18 Jul 2023 at 14:07, Dom Grigonis <dom.grigonis@gmail.com> 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