Message225786
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": |
|
Date |
User |
Action |
Args |
2014-08-24 01:50:28 | Arfrever | set | recipients:
+ Arfrever, eric.araujo, Aaron.Meurer, python-dev, takluyver, dstufft |
2014-08-24 01:50:28 | Arfrever | set | messageid: <1408845028.59.0.0619792603959.issue22200@psf.upfronthosting.co.za> |
2014-08-24 01:50:28 | Arfrever | link | issue22200 messages |
2014-08-24 01:50:28 | Arfrever | create | |
|