Builtins.lazy for lazy arguments

No, it should stay in its own thread. It has nothing to do with this proposal. But if you want to update my comparison table with new information from your endeavours let me know.

And if anyone feels that I have misjudged something in my comparison table / wants to add more pros/cons let me know as well.


I have been thinking about deferred evaluation since I joined the community and experimented with various ideas and implementations a fair bit. I picked it up at peps/pep-9999.rst at master · DavidMertz/peps · GitHub.

Currently I am 99% certain that complex automatic deferred evaluation has little to no chance of going through due to share complexity, implications and feasibility in contrast with actual needs and subsequent benefit. At least not until Python 4.

(I would be happy to be wrong about this…)

This simple proposal (which requires nothing more than 1 new type) is ironically the result of all my effort.


P.S. This can be used for Deferred Evaluation for Template Strings - #3 by sirosen as well.