[Scons-users] question regarding env.subst behavior

Bill Deegan bill at baddogconsulting.com
Fri May 22 16:57:46 EDT 2020


Yes. subst() doesn't cache.

Please explain your use model?
Depending on how you want to use the evaluated string, there may or may not
be a way to prevent reevaluating it.

On Fri, May 22, 2020 at 1:40 PM daggs <daggs at gmx.com> wrote:

> Greetings,
>
> I wanted to as a question regarding env.subst, I remembering reading that
> when calling env.subst, gets evaluated every time the var is called.
> I cannot seem to find that link anymore, is that correct?, if so, are
> there any solutions to prevent such reevaluating by just save the evaluated
> data inside a var?
>
> Thanks,
>
> Dagg.
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20200522/a9c7ef18/attachment.html>


More information about the Scons-users mailing list