Yes, thank you, this would definitely be nice to have. Although, "A generic system for deferred evaluation has been proposed at times“ sound better if it was a superset of PEP505. Could you refer me to any resources about such considered system?
On 18 Jul 2023, at 08:33, Chris Angelico <rosuav@gmail.com> wrote:
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 _______________________________________________ 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/R4HVE2... Code of Conduct: http://python.org/psf/codeofconduct/