Mats Wichmann
Mats Wichmann
Still broken, and this is kind of ugly. Poked at this a little bit - the problem is actually that if called as `env.Clean`, the expansion is deferred, and the...
More specifically, this call in `Clean`: ``` flist = self.arg2nodes(files, self.fs.Entry) ``` comes back with `'.'` if `files` is passed as a token that is not defined, and thus the...
I'm wondering if this problem extends to `Default` as well? It's not going to have the destructive effect that adding to `Clean` list does, but it also calls `arg2nodes` without...
Try `scons -H`, which does not check for options that could have been added by the scripts. This is unavoidable for `scons -h`, as it *must* parse the sconscripts: they...
as @bdbaddog points out, catching errors if in help mode could still allow printing something useful even if the script isn't syntactically correct.
Okay, so there's special logic that makes `--help` work if there's no SConstruct, which would normally emit a failure message. Can't really reuse that, because it happens up front, but...
Hmmm, that's not what I'd "logically" expect (but then that happens to me often with SCons!). The value you get back from `get_env` is indeed the default environment - you...
Not arguing here, just trying to understand: `env.File()`, `env,Dir()`, `env.Entry()` would seem to imply a clear affinity to an environment, as opposed to `File()`, `Dir()`, `Entry()` (unless you say those...
right, and as mentioned, absolutely nothing uses `get_env` at the moment except the quite new ninja stuff. `get_env` itself is not at all new, though.
ah, goody. that's one of the reasons I hate all of those psuedo-getter functions that Python doesn't need, and I forgot to even look for that.