http://scons.tigris.org/issues/show_bug.cgi?id=2345
authorgregnoel <gregnoel@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 15 Apr 2010 19:21:08 +0000 (19:21 +0000)
committergregnoel <gregnoel@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 15 Apr 2010 19:21:08 +0000 (19:21 +0000)
commitfa267559868d2a0a37e1fa93f9c47891403cc656
treea3e265178b5b9c6d717d657133c3085747287751
parent003453475b4fb0b0b9f9031ed6a10876fa4f7e71
scons.tigris.org/issues/show_bug.cgi?id=2345

Fixes due to running the regression tests with the '-3' option to Python2.6,
which causes the run-time to look for potential compatibility problems with
Python 3.x.  In some cases, all we can do is quiet the warning since we still
support Python versions that can't use the newer idiom.  In other cases, we
fix the problem.  This patch contains a mix of quieting and fixing, plus a
little lint.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4787 fdb21ef1-2011-0410-befe-b5e4ea1792b1
15 files changed:
QMTest/TestCmd.py
QMTest/TestSCons.py
QMTest/unittest.py
src/engine/SCons/Builder.py
src/engine/SCons/EnvironmentTests.py
src/engine/SCons/Node/FS.py
src/engine/SCons/Node/FSTests.py
src/engine/SCons/Script/Main.py
src/engine/SCons/Taskmaster.py
src/engine/SCons/Variables/__init__.py
src/engine/SCons/compat/__init__.py
src/engine/SCons/compat/_scons_builtins.py
src/engine/SCons/cpp.py
test/NodeOps.py
test/exitfns.py