Mats Wichmann

Results 560 comments of Mats Wichmann

And... a quick check shows that the tests *do* expect the value to be subst'd, specifically for `PathVariable`, it even has cascading variables in one case, ```py PathVariable('qtdir', 'where the...

Going back to an earlier comment: > Sure. I think a subst=True/False on Variable, with default of True would work? This is easy to do - I have a prototype...

Was hoping this was fixed by #3543, but apparently not: ``` $ python ../../scripts/scons.py scons: Reading SConscript files ... Checking for C header file stdio.h... yes scons: done reading SConscript...

Sure... plus a bonus printout: ``` $ python ../../scripts/scons.py --tree=prune scons: Reading SConscript files ... Checking for C header file stdio.h... no scons: done reading SConscript files. scons: Building targets...

[edited] Don't see how this is possible with the current design, as a `Variables` object doesn't hold any "data", just the descriptions of how the variables should work that it's...

Wouldn't it be fun if "transient" cache problems were easier to reproduce on demand for testing? Yeah, we should revisit this. Usually when something is tagged WIP it tends not...

For reading enjoyment, here's a snazzy C++ example from cppreference.com using `__has_include`: ```c++ #if __has_include() # include # define has_optional 1 template using optional_t = std::optional #elif __has_include() # include...

First off, there's documented behavior that seems to be at odds with the expectation here: > If `default` is `None` and a value is not specified, the construction variable will...

They use the same base class which does recognize `ifdef` and friends, but doesn't evaluate them; the conditional scanner is "smarter" and adds extra stuff.