[pypy-commit] pypy default: added sys.maxint to the compilation hash, to avoid obscure errors on windows

ctismer noreply at buildbot.pypy.org
Tue Nov 8 16:51:16 CET 2011


Author: Christian Tismer <tismer at stackless.com>
Branch: 
Changeset: r48942:905df0d6d47e
Date: 2011-11-08 16:37 +0100
http://bitbucket.org/pypy/pypy/changeset/905df0d6d47e/

Log:	added sys.maxint to the compilation hash, to avoid obscure errors on
	windows

diff --git a/pypy/translator/platform/__init__.py b/pypy/translator/platform/__init__.py
--- a/pypy/translator/platform/__init__.py
+++ b/pypy/translator/platform/__init__.py
@@ -102,6 +102,8 @@
         bits = [self.__class__.__name__, 'cc=%r' % self.cc]
         for varname in self.relevant_environ:
             bits.append('%s=%r' % (varname, os.environ.get(varname)))
+        # adding sys.maxint to disambiguate windows
+        bits.append('%s=%r' % ('sys.maxint', sys.maxint))
         return ' '.join(bits)
 
     # some helpers which seem to be cross-platform enough


More information about the pypy-commit mailing list