Python that don't support it.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3401
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
prev_size = threading.stack_size(stack_size*1024)
except AttributeError, e:
# Only print a warning if the stack size has been
- # explicitely set.
- if hasattr(SCons.Job, 'stack_size'):
+ # explicitly set.
+ if not explicit_stack_size is None:
msg = "Setting stack size is unsupported by this version of Python:\n " + \
e.args[0]
SCons.Warnings.warn(SCons.Warnings.StackSizeWarning, msg)