On 08/12/2021 19:27, Paul Moore wrote:

The reason deferred objects keep coming up is because they *do* have a
much more compelling benefit - they help in a much broader range of
cases.
That may be true.  I don't know.
Can anyone provide some realistic use cases?  I've read the whole thread and I can only recall at most one, viz. the default value is expensive to compute and may not be needed.  But that is a good time *not* to use a late-bound default!  (The sentinel idiom would be better.)  Anything can be used inappropriately, that doesn't make it bad per se. I don't wish to disparage anyone's motives.  I am sure all the posts were made sincerely and honestly.  But without examples (of how deferred objects would be useful), if *feels to me* (no doubt wrongly) as if people are using a fig leaf to fight against this PEP.
Best wishes
Rob Cliffe
_______________________________________________
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/6N5JIIXE3T6RA62QRARD33Z2HJRHWG7Y/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to