http://scons.tigris.org/issues/show_bug.cgi?id=2345
authorgregnoel <gregnoel@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Mon, 29 Mar 2010 14:21:04 +0000 (14:21 +0000)
committergregnoel <gregnoel@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Mon, 29 Mar 2010 14:21:04 +0000 (14:21 +0000)
commit2a0f4e1c0adbd29ad06075d5e8f3e07dfd548d51
treede2e680e944eb3c51fe1ba93714beba4605b18f4
parent549c191ec4e36eacc6dd33ea34b8ed201b6443d4
scons.tigris.org/issues/show_bug.cgi?id=2345

The 'buffer' fixer simply replaces 'buffer( ... )' with 'memoryview( ... )',
which is incorrect for our cases, so these changes had to be done by hand and
a forward-compatibility class added.

The 'xrange' fixer was applied.  Manual changes were minimal: a few case in
test strings and one use of 'range' as an identifer in the same scope as
where 'xrange' was converted to 'range'.

The "sets15" compat function, which provided backward compatibility for Python
versions prior to 2.2, was removed as no longer needed.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4735 fdb21ef1-2011-0410-befe-b5e4ea1792b1
37 files changed:
QMTest/TestCmd.py
src/engine/SCons/ActionTests.py
src/engine/SCons/Script/Main.py
src/engine/SCons/compat/__init__.py
src/engine/SCons/compat/_scons_sets.py
src/engine/SCons/compat/_scons_sets15.py [deleted file]
src/engine/SCons/compat/_scons_subprocess.py
src/engine/SCons/compat/builtins.py
src/engine/SCons/dblite.py
src/script/scons-time.py
src/script/sconsign.py
test/Batch/action-changed.py
test/KeyboardInterrupt.py
test/SWIG/build-dir.py
test/option/md5-chunksize.py
test/scons-time/func/chdir.py
test/scons-time/func/glob.py
test/scons-time/func/prefix.py
test/scons-time/func/tail.py
test/scons-time/mem/chdir.py
test/scons-time/mem/glob.py
test/scons-time/mem/prefix.py
test/scons-time/mem/tail.py
test/scons-time/obj/chdir.py
test/scons-time/obj/glob.py
test/scons-time/obj/prefix.py
test/scons-time/obj/tail.py
test/scons-time/time/chdir.py
test/scons-time/time/empty.py
test/scons-time/time/glob.py
test/scons-time/time/no-result.py
test/scons-time/time/prefix.py
test/scons-time/time/tail.py
timings/CPPPATH/SConstruct
timings/CPPPATH/TimeSCons-run.py
timings/hundred/SConstruct
timings/hundred/TimeSCons-run.py