Arfrever Frehtes Taifersar Arahesis added the comment: There are other checks:
Lib/distutils/command/build_ext.py: # this keeps compatibility from 2.3 to 2.5 if sys.version < "2.6": USER_BASE = None HAS_USER_SITE = False else: from site import USER_BASE HAS_USER_SITE = True Lib/distutils/msvccompiler.py and Lib/distutils/msvc9compiler.py: def get_build_version(): """Return the version of MSVC that was used to build Python. For Python 2.3 and up, the version number is included in sys.version. For earlier versions, assume the compiler is MSVC 6. """ ... if i == -1: return 6 Lib/distutils/tests/test_build_ext.py: class BuildExtTestCase(TempdirManager, LoggingSilencer, unittest.TestCase): def setUp(self): ... if sys.version > "2.6": ... def tearDown(self): ... if sys.version > "2.6": ---------- nosy: +Arfrever resolution: fixed -> stage: resolved -> status: closed -> open versions: +Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22200> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com