[Scons-users] Why does value.str not return the built value if available?
Andrew C. Morrow
andrew.c.morrow at gmail.com
Sun Dec 29 12:18:51 EST 2019
I was trying to use the Value Node type for something recently, and I was
surprised to find that the __str__ of a Value is only ever its initial
value, never the built value.
Is there an explicit reason for this choice? Would it make more sense if
__str__ returned the built value, if it existed? Should invoking __str__
invoke build, if it hasn't been?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Scons-users