From b828f5d4434615042e81c81051fe5dde3fe4304b Mon Sep 17 00:00:00 2001 From: William Deegan Date: Thu, 19 Nov 2015 11:28:01 -0800 Subject: remove sys.maxsize from compat module. 2.7 has it --- src/engine/SCons/compat/__init__.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/engine/SCons/compat/__init__.py b/src/engine/SCons/compat/__init__.py index 249d008..1bbc1e7 100644 --- a/src/engine/SCons/compat/__init__.py +++ b/src/engine/SCons/compat/__init__.py @@ -174,15 +174,6 @@ except AttributeError: - -try: - sys.maxsize -except AttributeError: - # Pre-2.6 Python has no sys.maxsize attribute - # Wrapping sys in () is silly, but protects it from 2to3 renames fixer - sys.maxsize = (sys).maxint - - if os.environ.get('SCONS_HORRIBLE_REGRESSION_TEST_HACK') is not None: # We can't apply the 'callable' fixer until the floor is 2.6, but the # '-3' option to Python 2.6 and 2.7 generates almost ten thousand -- cgit v0.12