diff options
author | Mats Wichmann <mats@linux.com> | 2024-03-05 14:42:17 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2024-03-12 14:22:12 (GMT) |
commit | 898415eb39248459742cf4505fa30574d9340d25 (patch) | |
tree | 1fc211ffaa76ddedd0b5a28b5fb23180e67b73a9 /SCons/Taskmaster | |
parent | 351c6049f394c8ce358fde6ffcdcc907ec46f710 (diff) | |
download | SCons-898415eb39248459742cf4505fa30574d9340d25.zip SCons-898415eb39248459742cf4505fa30574d9340d25.tar.gz SCons-898415eb39248459742cf4505fa30574d9340d25.tar.bz2 |
Updates on Value nodes
Some doc changes.
E2E tests cleaned up a bit.
Before merge:
TODO: second half of manpage example doesn't work.
Also: should test give SCons.Node.Value.Value as factory, or just Value?
(remove new import if the latter). SCons.Node.Value.Value and
SCons.Environment.Value are not the same thing.
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SCons/Taskmaster')
-rw-r--r-- | SCons/Taskmaster/Job.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/SCons/Taskmaster/Job.py b/SCons/Taskmaster/Job.py index 73ec0df..fae985e 100644 --- a/SCons/Taskmaster/Job.py +++ b/SCons/Taskmaster/Job.py @@ -278,9 +278,8 @@ class ThreadPool: try: prev_size = threading.stack_size(stack_size * 1024) - except AttributeError as e: - # Only print a warning if the stack size has been - # explicitly set. + except RuntimeError as e: + # Only print a warning if the stack size has been explicitly set. if explicit_stack_size is not None: msg = "Setting stack size is unsupported by this version of Python:\n " + \ e.args[0] |